[Bug c/64255] failures with -O2 optimization on i >= 0 ? (unsigned long) i : - (unsigned long) i
vincent-gcc at vinc17 dot net
gcc-bugzilla@gcc.gnu.org
Wed Dec 10 16:54:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64255
--- Comment #4 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Marek Polacek from comment #1)
> Without the standalone test case we can't do much, unfortunately. Would you
> have at least the preprocessed source?
It was actually a standalone test case, but one needs separate compilation to
run it:
$ gcc-snapshot -Wall -Wextra -O2 -c tst1.c
$ gcc-snapshot -Wall -Wextra -O2 -c tst2.c
$ gcc-snapshot tst1.o tst2.o -o tst
$ ./tst
i = 1
ai = FFFFFFFFFFFFFFFF
More information about the Gcc-bugs
mailing list