This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9672: [3.2 regression] ICE: Error reporting routines re-entered.
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, p dot van-hoof at qub dot ac dot uk
- Date: 19 Feb 2003 03:38:32 -0000
- Subject: Re: c++/9672: [3.2 regression] ICE: Error reporting routines re-entered.
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, p dot van-hoof at qub dot ac dot uk, gcc-gnats at gcc dot gnu dot org
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