c++/9672: [3.2 regression] ICE: Error reporting routines re-entered.
bangerth@dealii.org
bangerth@dealii.org
Wed Feb 19 03:38:00 GMT 2003
Old Synopsis: Internal compiler error: Error reporting routines re-entered.
New Synopsis: [3.2 regression] ICE: Error reporting routines re-entered.
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Feb 19 03:38:31 2003
State-Changed-Why:
Confirmed, though only with 3.2.1. It's fixed in 3.4. To
trigger it, this is an excerpt:
------------------------
struct B {
~B();
};
void foo () {
switch( 1 ) {
case 0: B i;
default: ;
}
}
------------------------
tmp/g> ~/bin/gcc-3.2.1/bin/c++ -c x.cc
x.cc: In function `void foo()':
x.cc:8: jump to case label
x.cc:7: enters scope of non-POD `B i'
Internal compiler error: Error reporting routines re-entered.
Since this worked with 2.95 (i.e.: it gave an error, instead
of ICEing), it's a regression of sorts.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9672
More information about the Gcc-bugs
mailing list