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: "stefaandr at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2005 19:21:45 -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 stefaandr at hotmail dot com 2005-05-30 19:21 -------
confirmed, I cannot reproduce with the given testcase either. But my original
source code still triggers a (possibly the same) bug. I've extracted a new
testcase:
struct M {
double data[16];
double* operator[](int row){ return &data[row*4]; };
void set() {
for (int i=0;i<16;++i)
data[i]=0.0;
}
};
struct A {
M m1;
void test();
};
void A::test() {
M m2;
m2[2][2]=0.;
m1.set();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734