http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51212
Bug #: 51212 Summary: ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -fgnu-tm -fnon-call-exceptions and transaction_callable Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz CC: amacl...@redhat.com Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25854 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25854 reduced testcase Compiler output: $ gcc -fgnu-tm -fnon-call-exceptions testcase.C testcase.C: In function 'void foo(int*)': testcase.C:9:6: error: BB 3 can not throw but has an EH edge testcase.C:9: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. (gdb) bt #0 internal_error (gmsgid=0x1403c6b "verify_flow_info failed") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:839 #1 0x00000000007ff57f in verify_flow_info () at /mnt/svn/gcc-trunk/gcc/cfghooks.c:259 #2 0x0000000000a6a0ef in execute_function_todo (data=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/passes.c:1722 #3 0x0000000000a6a93d in execute_todo (flags=16392) at /mnt/svn/gcc-trunk/gcc/passes.c:1751 #4 0x0000000000a6db5a in execute_one_pass (pass=0x199a740) at /mnt/svn/gcc-trunk/gcc/passes.c:2097 #5 0x0000000000a6de85 in execute_pass_list (pass=0x199a740) at /mnt/svn/gcc-trunk/gcc/passes.c:2129 #6 0x0000000000bcfafe in tree_rest_of_compilation (fndecl=0x7ffff56fdf00) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:420 #7 0x0000000000823b5a in cgraph_expand_function (node=0x7ffff55876c0) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1819 #8 0x0000000000825c96 in cgraph_output_in_order () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1984 #9 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2194 #10 0x000000000082606a in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1327 #11 0x000000000064779b in cp_write_global_declarations () at /mnt/svn/gcc-trunk/gcc/cp/decl2.c:4050 #12 0x0000000000b62d84 in compile_file (argc=15, argv=0x7fffffffdab8) at /mnt/svn/gcc-trunk/gcc/toplev.c:581 #13 do_compile (argc=15, argv=0x7fffffffdab8) at /mnt/svn/gcc-trunk/gcc/toplev.c:1931 #14 toplev_main (argc=15, argv=0x7fffffffdab8) at /mnt/svn/gcc-trunk/gcc/toplev.c:2007 #15 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6 #16 0x000000000056ba39 in _start () Tested revisions: r181442 - crash