public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41906]  New: [4.5 Regression] ICE with catch(...) and -fpermissive
@ 2009-11-02 13:41 reichelt at gcc dot gnu dot org
  2009-11-02 13:41 ` [Bug c++/41906] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-02 13:41 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on trunk when compiled with
"-fpermissive":

===================
void foo();

void bar()
{
  try { foo(); }
  catch (...) {}
  catch (int) {}
}
===================

bug.cc: In function 'void bar()':
bug.cc:6:3: warning: '...' handler must be the last handler for its try block
bug.cc:3:6: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

The bug appeared between 2009-09-01 and 2009-09-17.


-- 
           Summary: [4.5 Regression] ICE with catch(...) and -fpermissive
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-12-11 23:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-02 13:41 [Bug c++/41906] New: [4.5 Regression] ICE with catch(...) and -fpermissive reichelt at gcc dot gnu dot org
2009-11-02 13:41 ` [Bug c++/41906] " reichelt at gcc dot gnu dot org
2009-11-05 15:58 ` jason at gcc dot gnu dot org
2009-11-05 16:03 ` jason at gcc dot gnu dot org
2009-11-09 13:05 ` rguenth at gcc dot gnu dot org
2009-11-26 16:51 ` matz at gcc dot gnu dot org
2009-11-27 13:09 ` matz at gcc dot gnu dot org
2009-11-27 13:26 ` matz at gcc dot gnu dot org
2009-12-11 23:41 ` hjl at gcc dot gnu dot 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).