public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57499] New: ICE when noreturn destructor returns after throw with -O
@ 2013-06-01 10:14 f.heckenbach@fh-soft.de
  2013-06-03  8:46 ` [Bug middle-end/57499] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: f.heckenbach@fh-soft.de @ 2013-06-01 10:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57499

            Bug ID: 57499
           Summary: ICE when noreturn destructor returns after throw with
                    -O
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: f.heckenbach@fh-soft.de

Created attachment 30238
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30238&action=edit
Test case

Got this while triaging #57498. The test program is clearly wrong, but since
ICEs should always be reported ...

% g++-4.7 -O test.cpp 
test.cpp: In destructor 'foo::~foo()':
test.cpp:7:3: warning: 'noreturn' function does return [enabled by default]
test.cpp: In function 'int main()':
test.cpp:14:1: internal compiler error: Segmentation fault


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-12 13:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-01 10:14 [Bug c++/57499] New: ICE when noreturn destructor returns after throw with -O f.heckenbach@fh-soft.de
2013-06-03  8:46 ` [Bug middle-end/57499] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-10-30 12:38 ` rguenth at gcc dot gnu.org
2014-02-04 10:20 ` jakub at gcc dot gnu.org
2014-02-04 12:55 ` jakub at gcc dot gnu.org
2014-02-05 14:35 ` jakub at gcc dot gnu.org
2014-02-05 14:41 ` [Bug middle-end/57499] [4.7/4.8 " jakub at gcc dot gnu.org
2014-03-06  7:55 ` jakub at gcc dot gnu.org
2014-06-12 13:28 ` [Bug middle-end/57499] [4.7 " rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).