This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9672: [3.2 regression] ICE: Error reporting routines re-entered.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]