[Issue 17220] invalid code with -m32 -inline and struct that's size_t.sizeof x the size of an assigned enum value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 24 09:51:38 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17220

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Martin Nowak <code at dawg.eu> ---
This got accidentally fixed by
https://github.com/dlang/dmd/pull/6410/files#diff-0630e1297bdecef97aded9af2ddb879cL4041.

Seems like the problem was indeed a CSE which caused that no code was generated
for `mov cl, 8`, but the following `gen1(c3, 0xF3)` didn't deal with c3 being
CNIL, hence the code wasn't appended/emitted.

--


More information about the Digitalmars-d-bugs mailing list