[LLVMdev] Is this a bug in clang?

Paul Curtis plc at rowley.co.uk
Wed Apr 20 03:00:36 PDT 2011


> [ 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)++ ?

--
Paul Curtis, Rowley Associates Ltd   http://www.rowley.co.uk





More information about the llvm-dev mailing list