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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  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 ` pinskia at gcc dot gnu dot org
  2005-08-29 17:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29 17:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |EH


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


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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29 17:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-08-30 13:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-08-30 13:30 -------
In replace_uses_by.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  2005-08-29 17:41 [Bug tree-optimization/23626] New: [4.1 Regression] ICE after cunrolling pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-08-31 10:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-08-31 10:13 -------
Patch. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |08/msg01821.html


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


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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  2005-08-29 17:41 [Bug tree-optimization/23626] New: [4.1 Regression] ICE after cunrolling pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-02  9:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-02 09:05 -------
Subject: Bug 23626

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2005-09-02 09:04:48

Modified files:
	gcc            : ChangeLog tree-cfg.c 

Log message:
	PR tree-optimization/23626
	* tree-cfg.c (replace_uses_by): Clean up eh info.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9883&r2=2.9884
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&r1=2.217&r2=2.218



-- 


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


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

* [Bug tree-optimization/23626] [4.1 Regression] ICE after cunrolling
  2005-08-29 17:41 [Bug tree-optimization/23626] New: [4.1 Regression] ICE after cunrolling pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-09-02  9:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-09-02 09:12 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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