This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18544] New: [4.0 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: 18 Nov 2004 15:48:17 -0000
- Subject: [Bug tree-optimization/18544] New: [4.0 regression] ICE with -ftree-vectorize
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code snippet causes an ICE on mainline when compiled with
"-ftree-vectorize -O -march=pentium2":
=========================================
struct A
{
int x[2];
A()
{
int* p=x;
for (int i=0; i<2; ++i, ++p)
*p = 0;
}
};
A foo()
{
return A();
}
=========================================
bug.cc: In function 'A foo()':
bug.cc:13: internal compiler error: in vect_create_data_ref_ptr, at
tree-vectorizer.c:1841
Please submit a full bug report, [etc.]
According to Phil's regression hunter this was introduced in October:
: Search converges between 2004-10-12-014001-trunk (#591) and
2004-10-15-014001-trunk (#592).
--
Summary: [4.0 regression] ICE with -ftree-vectorize
Product: gcc
Version: 4.0.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=18544