This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3
- 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: 14 Jul 2005 20:24:18 -0000
- Subject: [Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3
- References: <20050714141428.22488.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 20:24 -------
Confirmed. Reduced testcase (compile with -O)
=====================================
struct X
{
int i0, i1;
char c;
};
struct A
{
int i;
char c0, c1;
virtual ~A();
};
struct B : virtual A {};
struct C : B
{
X x;
void bar(X y) { x = y; }
};
void foo()
{
C().bar(X());
}
=====================================
On i686-pc-linux-gnu this results in:
PR22488.cc: In function 'void foo()':
PR22488.cc:24: internal compiler error: in first_vi_for_offset, at
tree-ssa-structalias.c:2858
Please submit a full bug report, [etc.]
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-07-14 20:24:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488