November 15 [Issue 24861] New: Vestige of 16 bit code being accidentally generated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24861 Issue ID: 24861 Summary: Vestige of 16 bit code being accidentally generated Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: bugzilla@digitalmars.com Line 4667 of cod2.d is: if (pretregs & (mES | mCX) || e.Ety & mTYfar) but that branch should only be taken for 16 bit code. The code generated is benign, but it shouldn't be generated. The fix is: if (I16 && pretregs & (mES | mCX) || e.Ety & mTYfar) -- |
Copyright © 1999-2021 by the D Language Foundation