c++/1975: ICE for -O2 compile of nested throw in nested default/switch/conditional/destructor.

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Thu Jun 14 21:00:00 GMT 2001


Synopsis: ICE for -O2 compile of nested throw in nested default/switch/conditional/destructor.

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Jun 14 21:00:40 2001
State-Changed-Why:
    Testing with: gcc version 3.0 20010614 (prerelease) 
    
    If I compile your testcase, I get a compilation error:
    test.cpp:102: parse error before `}' token
    
    If I remove line 102 of this file, it compiles successfully.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1975&database=gcc



More information about the Gcc-bugs mailing list