On 2 June 2014 10:24, bearophile via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > 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. >
Then 1) Get a newer version of GDC 2) Raise bugs - you do this for DMD. Why not GDC?