------- Comment #2 from reichelt at gcc dot gnu dot org 2006-02-23 11:42 ------- In contrast to PR 25937, I can reproduce this bug also on x86_64-unknown-linux-gnu.
Shorter testcase: ========================================= int foo(int *p, int n) { int i, j, k = 0; for ( i = 0; i < 2; ++i, p += n ) for ( j = 0; j < 2; ++j ) k += p[j]; return k; } ========================================= -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |monitored Last reconfirmed|0000-00-00 00:00:00 |2006-02-23 11:42:08 date| | Summary|ICE with -O1 -ftree-loop- |[4.1/4.2 regression] ICE |linear and higher |with -O1 -ftree-loop-linear |optimization |and higher optimization Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26435