[Bug tree-optimization/32544] gcc 4.2.1 miscompiles Mesa's r300 DRI driver with -ftree-vrp
pixel at mandriva dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 7 22:34:00 GMT 2007
------- Comment #5 from pixel at mandriva dot com 2007-08-07 22:33 -------
Created an attachment (id=14038)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14038&action=view)
miscompiles with gcc 4.2 -O2
here is a simple test case reproducing the issue.
eg:
% gcc -O2 ivopts-issue.c && ./a.out && gcc -O2 -fno-ivopts ivopts-issue.c &&
./a.out
0 0 1 2
2 2 1 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32544
More information about the Gcc-bugs
mailing list