[Bug ada/81361] [8 regression] broken exception handling at -O2

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 16:36:00 GMT 2017


--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Created attachment 42181
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42181&action=edit
C++ testcase

To be compiled at -O2 and run:

(botcazou@goole) ~ $ g++ -o t t.C -O2
(botcazou@goole) ~ $ ./t 
terminate called after throwing an instance of 'int'
Abort trap: 6

More information about the Gcc-bugs mailing list