deadalnix:
What do GDC or LDC generate for these sample code with optimizations on ?
This is not an interesting question because those two programs are meant as parts of larger programs. ldc2 optimizes away both programs to "xorl %eax, %eax".
And I can't test on GDC because GDC compiler crashes on my system since years.
Bye, bearophile
