[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 07:20:01 PST 2017


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
            Summary|invalid code with -m32      |invalid code with -m32
                   |-inline and struct that's   |-inline and struct that's
                   |4x the size of an assigned  |size_t.sizeof x the size of
                   |enum value                  |an assigned enum value
                 OS|All                         |Linux

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
Ah thanks for size_t.sizeof times enum value finding.
This is easily the weirdest backend bug I've seen so far.

--


More information about the Digitalmars-d-bugs mailing list