public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/45316]  New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
@ 2010-08-18  1:45 zsojka at seznam dot cz
  2010-08-18  1:45 ` [Bug middle-end/45316] " zsojka at seznam dot cz
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-08-18  1:45 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -O1 -ftree-pre -fnon-call-exceptions testcase.C

Compiler output:
$ gcc -O1 -ftree-pre -fnon-call-exceptions testcase.C 
testcase.C: In function 'void foo()':
testcase.C:21:1: error: BB 3 can not throw but has an EH edge
testcase.C:21:1: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r163261 - crash
r161659 - crash
r161170 - OK
4.5 r160526 - OK


-- 
           Summary: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can
                    not throw but has an EH edge with -O1 -ftree-pre -fnon-
                    call-exceptions
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
@ 2010-08-18  1:45 ` zsojka at seznam dot cz
  2010-08-18  3:36 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-08-18  1:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-08-18 01:45 -------
Created an attachment (id=21510)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21510&action=view)
reduced testcase


-- 


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
  2010-08-18  1:45 ` [Bug middle-end/45316] " zsojka at seznam dot cz
@ 2010-08-18  3:36 ` hjl dot tools at gmail dot com
  2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-18  3:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-08-18 03:36 -------
It is caused by revision 161655:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00006.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-18 03:36:29
               date|                            |


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
@ 2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
  2010-08-25 12:53 ` rguenth at gcc dot gnu dot org
  2010-08-25 12:54 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-18  8:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-08-18 08:45 -------
Mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-08-18 03:36:29         |2010-08-18 08:45:33
               date|                            |


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
  2010-08-18  1:45 ` [Bug middle-end/45316] " zsojka at seznam dot cz
  2010-08-18  3:36 ` hjl dot tools at gmail dot com
@ 2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
  2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-18  8:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
@ 2010-08-25 12:53 ` rguenth at gcc dot gnu dot org
  2010-08-25 12:54 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-25 12:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-08-25 12:53 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/45316] [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions
  2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-08-25 12:53 ` rguenth at gcc dot gnu dot org
@ 2010-08-25 12:54 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-25 12:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-08-25 12:53 -------
Subject: Bug 45316

Author: rguenth
Date: Wed Aug 25 12:53:30 2010
New Revision: 163543

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163543
Log:
2010-08-25  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/45316
        * tree-ssa-pre.c (eliminate): Properly clean EH info.

        * g++.dg/opt/pr45316.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr45316.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c


-- 


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


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

end of thread, other threads:[~2010-08-25 12:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18  1:45 [Bug middle-end/45316] New: [4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O1 -ftree-pre -fnon-call-exceptions zsojka at seznam dot cz
2010-08-18  1:45 ` [Bug middle-end/45316] " zsojka at seznam dot cz
2010-08-18  3:36 ` hjl dot tools at gmail dot com
2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
2010-08-18  8:45 ` rguenth at gcc dot gnu dot org
2010-08-25 12:53 ` rguenth at gcc dot gnu dot org
2010-08-25 12:54 ` rguenth 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).