This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2010 19:09:31 -0000
- Subject: [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
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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