This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26435] [4.1/4.2 regression] ICE with -O1 -ftree-loop-linear and higher optimization
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2006 11:42:08 -0000
- Subject: [Bug tree-optimization/26435] [4.1/4.2 regression] ICE with -O1 -ftree-loop-linear and higher optimization
- References: <bug-26435-8649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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