core.intrinsics

Guillaume Piolat via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 14 07:21:22 PDT 2016


On Friday, 14 October 2016 at 13:07:10 UTC, Johan Engelen wrote:
> On Friday, 14 October 2016 at 12:55:17 UTC, Guillaume Piolat 
> wrote:
>> 
>> - this pointer is aligned to N bytes
>> - this pointer doesn't alias with this pointer
>
> Do you mean these as "just a hint, should not generate invalid 
> code if not true" or as "a certainty, allowed to generate 
> invalid code if not true" ?
> (my intent is the former)

Not a compiler engineer, but it seems to me the compiler should 
have the last word about this, and not generate invalid code. 
This rules out both of these hints I guess.


More information about the Digitalmars-d mailing list