Another interesting difference

Kai Nacke kai at redstar.de
Thu Dec 12 22:32:27 PST 2013


On Thursday, 12 December 2013 at 09:37:36 UTC, David Nadlinger 
wrote:
> On 12 Dec 2013, at 10:00, bearophile wrote:
>> Do you know why ldc2 puts array bound tests inside fun()? The 
>> array 'a' inside fun() is a fixed size array, so there is no 
>> need to verify at run-time that 0 1 2 are within the array 
>> bounds.
>
> I don't know why we are, but we shouldn't: 
> https://github.com/ldc-developers/ldc/issues/553
>
> David

This is the solution:

https://github.com/ldc-developers/ldc/pull/554

Regards,
Kai


More information about the digitalmars-d-ldc mailing list