[Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 23 18:54:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11646
------- Additional Comments From bangerth at dealii dot org 2003-07-23 18:54 -------
OK, this is as short as I can get it (but that should suffice):
-----------------------------
struct A {
~A() throw() { }
};
struct B {
B(const A& __a) : p(0) { }
int* p;
};
template<typename> struct V : B {
V() : B(A()) { }
~V() {}
int & foo();
};
void f() {
int index = V<int>().foo();
}
------------------------------
mp/gg> ../build-gcc/gcc-install/bin/c++ -c z.cc -fgcse -fnon-call-exceptions -O
z.cc: In function `void f()':
z.cc:18: internal compiler error: in commit_one_edge_insertion, at cfgrtl.c:
1546
Please submit a full bug report,
W.
More information about the Gcc-bugs
mailing list