This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20994] New: [4.1 regression] ICE with -ftree-vectorize
- 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: 13 Apr 2005 15:24:03 -0000
- Subject: [Bug tree-optimization/20994] New: [4.1 regression] ICE with -ftree-vectorize
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code snippet casues an ICE on mainline when compiled with
"-O -ftree-vectorize". The 4.0 branch is not affected.
===================================
int foo(double* p)
{
int i=0;
for (double* q; q!=p; ++q)
if (*q)
++i;
return i;
}
===================================
This is similar to PR20929. But it is not a duplicate since the bug in
PR 20929 is fixed on mainline.
--
Summary: [4.1 regression] ICE with -ftree-vectorize
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20994