[Bug tree-optimization/22615] New: [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2858
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 22 18:53:00 GMT 2005
Take the following C++ code, with -O1 we ICE right now (This is forwarded from PR 22277 because the
orginal bug there was fixed):
struct A
{
char c;
int i;
};
A a;
struct B
{
char c, d;
};
union C
{
A *p;
B *q;
C() : p(&a) {}
char& foo() { return q->d; }
};
void bar() { C().foo() = 0; }
--
Summary: [4.1 Regression] ICE in first_vi_for_offset, at tree-
ssa-structalias.c:2858
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22615
More information about the Gcc-bugs
mailing list