This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/62078] New: [4.10 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Aug 2014 09:39:04 +0000
- Subject: [Bug middle-end/62078] New: [4.10 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62078
Bug ID: 62078
Summary: [4.10 Regression] ICE: verify_flow_info failed:
missing REG_EH_REGION note at the end of bb 2 with
-fdelete-dead-exceptions
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 33278
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33278&action=edit
mostly reduced testcase
Compiler output:
$ $ /mnt/svn/gcc-trunk/binary-latest/bin/gcc -Og -fdelete-dead-exceptions
-fnon-call-exceptions testcase.C
testcase.C: In function 'void foo()':
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 40
}
^
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 38
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 36
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 34
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 32
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 30
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 28
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 26
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 24
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 22
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 18
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 16
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 14
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 12
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 10
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 8
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 6
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 4
testcase.C:31:1: error: missing REG_EH_REGION note at the end of bb 2
testcase.C:31:1: internal compiler error: verify_flow_info failed
0x91f1d6 verify_flow_info()
/mnt/svn/gcc-trunk/gcc/cfghooks.c:260
0xc28ac4 execute_function_todo
/mnt/svn/gcc-trunk/gcc/passes.c:1761
0xc294d3 execute_todo
/mnt/svn/gcc-trunk/gcc/passes.c:1806
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
(gdb) bt
#0 internal_error (gmsgid=gmsgid@entry=0x16e67fb "verify_flow_info failed") at
/mnt/svn/gcc-trunk/gcc/diagnostic.c:1130
#1 0x000000000091f1d7 in verify_flow_info () at
/mnt/svn/gcc-trunk/gcc/cfghooks.c:260
#2 0x0000000000c28ac5 in execute_function_todo (fn=0x7ffff6dfc498,
data=<optimized out>) at /mnt/svn/gcc-trunk/gcc/passes.c:1761
#3 0x0000000000c294d4 in execute_todo (flags=131136) at
/mnt/svn/gcc-trunk/gcc/passes.c:1806
#4 0x0000000000c2b86e in execute_one_pass (pass=pass@entry=0x1f9f350) at
/mnt/svn/gcc-trunk/gcc/passes.c:2162
#5 0x0000000000c2bdb6 in execute_pass_list_1 (pass=0x1f9f350) at
/mnt/svn/gcc-trunk/gcc/passes.c:2201
#6 0x0000000000c2bdc8 in execute_pass_list_1 (pass=0x1f9e9f0,
pass@entry=0x1f9b930) at /mnt/svn/gcc-trunk/gcc/passes.c:2202
#7 0x0000000000c2be09 in execute_pass_list (fn=0x7ffff6dfc498, pass=0x1f9b930)
at /mnt/svn/gcc-trunk/gcc/passes.c:2212
#8 0x000000000094ab40 in expand_function (node=node@entry=0x7ffff6aa7450) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1776
#9 0x000000000094c20c in expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1910
#10 compile () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2254
#11 0x000000000094dba5 in finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2331
#12 0x000000000072a166 in cp_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/cp/decl2.c:4644
#13 0x0000000000d268bd in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:562
#14 0x0000000000d28c05 in do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1947
#15 toplev_main (argc=16, argv=0x7fffffffd7b8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2023
#16 0x00007ffff6e67db5 in __libc_start_main () from /lib64/libc.so.6
#17 0x000000000063e401 in _start ()
According to PR61031#c1, this might be just exposed by extended checking in
4.10.
Tested revisions:
r213777 - ICE
4_9 r212703 - OK