is this an instance of the 16-byte struct bug

deadalnix deadalnix at gmail.com
Mon Nov 4 14:46:12 PST 2013


On Monday, 4 November 2013 at 22:42:35 UTC, jerro wrote:
> On Monday, 4 November 2013 at 22:27:39 UTC, deadalnix wrote:
>> OK.
>>
>> Now usual question to try to understand what is going wrong.
>>
>> Can you try on 32/64 bits ? Also, what happen with GDC and LDC 
>> ?
>
> The code I posted above prints 3ff0000000000000 when built with
> dmd on x86_64 without any flags. It prints 0 if I build with LDC
> or GDC, or if I build with DMD and add either -O flag or -m32.

Then it look like a dmd backend bug. Can you post the generated 
assembly ?


More information about the Digitalmars-d mailing list