[LLVMdev] Is this a bug in clang?

Steve Montgomery stephen.montgomery3 at btinternet.com
Wed Apr 20 02:01:07 PDT 2011

> My compiler will vigorously refuse to compile such nonsense - there
> will be no flags to change this
> behavior.

[ 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.

More information about the llvm-dev mailing list