www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GDC new versions weird asm code generation

https://godbolt.org/g/uEBiSi

I would expected

int example.foo():
         mov     eax, 3
         ret

for new gdc too.
Oct 23