public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40043]  New: [4.5 Regression] ICE with nested try/catch
@ 2009-05-06 11:13 reichelt at gcc dot gnu dot org
  2009-05-06 11:14 ` [Bug middle-end/40043] " reichelt at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-05-06 11:13 UTC (permalink / raw)
  To: gcc-bugs

The following valid testcase triggers an ICE on trunk when compiled with "-O":

===========================
struct A
{
  ~A();
  void foo();
};

void bar()
{
  A a;

  try
  {
    A b;

    try
    {
      b.foo();
    }
    catch (int) {}
  }
  catch (int) {}
}
===========================

bug.cc: In function 'void bar()':
bug.cc:7: error: EH edge 2->21 is missing
bug.cc:7: error: unnecessary EH edge 2->10
bug.cc:7: internal compiler error: verify_flow_info failed
Please submit a full bug report, [etc.]

The bug might be related to PR39862.


-- 
           Summary: [4.5 Regression] ICE with nested try/catch
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        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=40043


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 11:13 [Bug middle-end/40043] New: [4.5 Regression] ICE with nested try/catch reichelt at gcc dot gnu dot org
2009-05-06 11:14 ` [Bug middle-end/40043] " reichelt at gcc dot gnu dot org
2009-05-09 10:52 ` hubicka at gcc dot gnu dot org
2009-05-11 16:49 ` hjl at gcc dot gnu dot org
2009-05-11 17:23 ` hjl dot tools at gmail dot com
2009-05-11 17:23 ` hjl dot tools at gmail dot com

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).