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

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