https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105686
Bug ID: 105686 Summary: [10/11/12/13 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 8 with -fnon-call-exceptions Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 53013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53013&action=edit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -O -fno-delete-dead-exceptions -fnon-call-exceptions -fexceptions -fno-tree-dce -fno-tree-forwprop testcase.c testcase.c: In function 'foo': testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 8 11 | } | ^ testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 7 testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 6 testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 5 testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 4 testcase.c:11:1: error: missing REG_EH_REGION note at the end of bb 3 during RTL pass: cprop_hardreg testcase.c:11:1: internal compiler error: verify_flow_info failed 0xc42133 verify_flow_info() /repo/gcc-trunk/gcc/cfghooks.cc:284 0x1055eba execute_function_todo /repo/gcc-trunk/gcc/passes.cc:2097 0x105643b execute_todo /repo/gcc-trunk/gcc/passes.cc:2139 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r13-694-20220520170416-gd5cf2a1f15e-checking-yes-rtl-df-extra-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/13.0.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --with-cloog --with-ppl --with-isl --with-sysroot=/usr/aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=aarch64-unknown-linux-gnu --with-ld=/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-694-20220520170416-gd5cf2a1f15e-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220520 (experimental) (GCC)