public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/43695]  New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
@ 2010-04-08 19:09 zsojka at seznam dot cz
  2010-04-08 19:10 ` [Bug tree-optimization/43695] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-08 19:09 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ g++ -fipa-cp -fipa-cp-clone testcase.C
testcase.C: In function ‘void foo()’:
testcase.C:13:6: error: BB 2 is missing an EH edge
testcase.C:13:6: 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:
r158095 - crash
r153685 - crash
4.5 r158113 - segfault (release checking)
4.4 r157895 - OK (with checking)

Valgrind (trunk r158095):
nothing interesting

Valgrind (4.5 r158113, release checking):
==26559== Invalid read of size 4
==26559==    at 0x7AB683: main_block_label (tree-cfg.c:1064)
==26559==    by 0x7AF241: cleanup_dead_labels (tree-cfg.c:1093)
==26559==    by 0x7E0442: execute_cleanup_cfg_post_optimizing
(tree-optimize.c:196)
==26559==    by 0x7105DD: execute_one_pass (passes.c:1568)
==26559==    by 0x710844: execute_pass_list (passes.c:1623)
==26559==    by 0x7E08CF: tree_rest_of_compilation (tree-optimize.c:413)
==26559==    by 0x90E580: cgraph_expand_function (cgraphunit.c:1548)
==26559==    by 0x910865: cgraph_optimize (cgraphunit.c:1721)
==26559==    by 0x910A04: cgraph_finalize_compilation_unit (cgraphunit.c:1096)
==26559==    by 0x4F4C1B: cp_write_global_declarations (decl2.c:3833)
==26559==    by 0x7A52D4: toplev_main (toplev.c:1065)
==26559==    by 0x6586A3C: (below main) (in /lib64/libc-2.10.1.so)
==26559==  Address 0x50 is not stack'd, malloc'd or (recently) free'd


-- 
           Summary: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2
                    is missing an EH edge with -fipa-cp-clone
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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=43695


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
@ 2010-04-08 19:10 ` pinskia at gcc dot gnu dot org
  2010-04-08 19:11 ` zsojka at seznam dot cz
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-08 19:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |EH, ice-on-valid-code
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
  2010-04-08 19:10 ` [Bug tree-optimization/43695] " pinskia at gcc dot gnu dot org
@ 2010-04-08 19:11 ` zsojka at seznam dot cz
  2010-04-09  8:46 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-08 19:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-04-08 19:11 -------
Created an attachment (id=20339)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20339&action=view)
reduced testcase (from g++.dg/torture/pr34953.C)

Command line:
g++ -fipa-cp -fipa-cp-clone pr43695.C


-- 


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


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
  2010-04-08 19:10 ` [Bug tree-optimization/43695] " pinskia at gcc dot gnu dot org
  2010-04-08 19:11 ` zsojka at seznam dot cz
@ 2010-04-09  8:46 ` rguenth at gcc dot gnu dot org
  2010-04-09 13:05 ` 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-04-09  8:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-04-09 08:46 -------
Well.  I guess we should simply not run IPA passes at -O0 (like we do not
support enabling random scalar passes at -O0, though in the end I'd like
to support that for poor-mans unit-testing).

I suppose the IPA fixup pass needs to be run by the pass manager dependent
on a property which IPA passes can re-set.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-checking
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-09 08:46:13
               date|                            |
   Target Milestone|4.5.0                       |4.5.1


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


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-04-09  8:46 ` rguenth at gcc dot gnu dot org
@ 2010-04-09 13:05 ` rguenth at gcc dot gnu dot org
  2010-04-20  0:56 ` zsojka at seznam dot cz
  2010-07-31  9:34 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-09 13:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-04-09 13:05 ` rguenth at gcc dot gnu dot org
@ 2010-04-20  0:56 ` zsojka at seznam dot cz
  2010-07-31  9:34 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-20  0:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zsojka at seznam dot cz  2010-04-20 00:56 -------
I can't reproduce it anymore in r158225 and r158486


-- 


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


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

* [Bug tree-optimization/43695] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone
  2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-04-20  0:56 ` zsojka at seznam dot cz
@ 2010-07-31  9:34 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31  9:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-07-31 09:29 -------
GCC 4.5.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.1                       |4.5.2


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


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

end of thread, other threads:[~2010-07-31  9:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 19:09 [Bug tree-optimization/43695] New: [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 is missing an EH edge with -fipa-cp-clone zsojka at seznam dot cz
2010-04-08 19:10 ` [Bug tree-optimization/43695] " pinskia at gcc dot gnu dot org
2010-04-08 19:11 ` zsojka at seznam dot cz
2010-04-09  8:46 ` rguenth at gcc dot gnu dot org
2010-04-09 13:05 ` rguenth at gcc dot gnu dot org
2010-04-20  0:56 ` zsojka at seznam dot cz
2010-07-31  9:34 ` 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).