[LLVMdev] Is this a bug in clang?

Steve Montgomery stephen.montgomery3 at btinternet.com
Wed Apr 20 04:18:26 PDT 2011


On 20 Apr 2011, at 11:00, Paul Curtis wrote:

>> [ Forgot to Reply-All first time, sorry. ]
>>
>> But how would it deal with:
>>
>> *p + *q++;
>>
>> It can't know in general whether *p and *q denote the same object.
>
> Shouldn't that be *p + (*q)++ ?

Yes, sorry.



More information about the llvm-dev mailing list