Array bound checks removal increasing importance

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 2 03:51:13 PDT 2014


On 2 June 2014 10:24, bearophile via Digitalmars-d
<digitalmars-d at 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?


More information about the Digitalmars-d mailing list