On Sun, Nov 16, 2008 at 3:39 PM, Eli Friedman <[EMAIL PROTECTED]> wrote:
> For the incorrect output, try something like the following with "clang
> -emit-llvm -triple x86_64-unknown-linux-gnu":
> long y = &((int*)0)[0xFFFFFFFFu] - ((int*)0);

> Try something like the following with "clang -emit-llvm -triple
> x86_64-unknown-linux-gnu":
>
> long y = ((int*)0) - &((int*)0)[1];

Correction: try the preceding with a build with USE_TRY_EVALUATE defined.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to