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

Reply via email to