This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25857] New: ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:621
- From: "wouter dot vermaelen at pi dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2006 11:27:00 -0000
- Subject: [Bug c++/25857] New: ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:621
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-- foo.cc -----------------------------
#include <string>
struct Foo { void f(); };
struct Bar { Foo& getFoo(); };
struct Qux {
~Qux();
Bar bar;
std::string s1, s2, s3, s4;
};
Qux::~Qux() { bar.getFoo().f(); }
---------------------------------------
> g++ -O2 foo.cc
foo.cc: In destructor 'Qux::~Qux()':
foo.cc:9: internal compiler error: in coalesce_abnormal_edges, at
tree-outof-ssa.c:621
Only happens with -O2 or -O3. I tested with SVN version of 2006/01/18.
--
Summary: ICE in coalesce_abnormal_edges, at tree-outof-ssa.c:621
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wouter dot vermaelen at pi dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25857