public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23626] New: [4.1 Regression] ICE after cunrolling
@ 2005-08-29 17:41 pinskia at gcc dot gnu dot org
  2005-08-29 17:41 ` [Bug tree-optimization/23626] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29 17:41 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

The following C++ code currently fails at -O2 -fnon-call-exceptions:
extern "C" void abort ();
int a[3];
int f ()
{
  int sum = 0;
  try
  {
    for (int i = 0; i < 3; ++i)
      sum += a[i];
  }
  catch (...)
  {
    abort ();
  }
  return sum;
}

I think someone forgets to cleanup the eh regions after unrolling:
t.cc: In function ‘int f()’:
t.cc:2: error: BB 0 last statement has incorrectly set region
t.cc:2: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [4.1 Regression] ICE after cunrolling
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,rakdver at gcc dot gnu
                    dot org


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


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

end of thread, other threads:[~2005-09-02  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29 17:41 [Bug tree-optimization/23626] New: [4.1 Regression] ICE after cunrolling pinskia at gcc dot gnu dot org
2005-08-29 17:41 ` [Bug tree-optimization/23626] " pinskia at gcc dot gnu dot org
2005-08-29 17:49 ` pinskia at gcc dot gnu dot org
2005-08-30 13:34 ` rakdver at gcc dot gnu dot org
2005-08-31 10:16 ` rakdver at gcc dot gnu dot org
2005-09-02  9:05 ` cvs-commit at gcc dot gnu dot org
2005-09-02  9:12 ` rakdver 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).