This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21734] [4.1 regression] ICE: -ftree-vectorize, segfault
- 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: 1 Jun 2005 08:41:40 -0000
- Subject: [Bug tree-optimization/21734] [4.1 regression] ICE: -ftree-vectorize, segfault
- References: <20050524080015.21734.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-01 08:41 -------
Even shorter testcase:
============================================
struct A
{
int a[4];
int* operator[](int i) { return &a[i]; }
};
void foo(A a1, A &a2)
{
a1[1][1]=0;
for (int i=0; i<4; ++i)
a2.a[i]=0;
}
============================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734