This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/32544] gcc 4.2.1 miscompiles Mesa's r300 DRI driver with -ftree-vrp



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]