http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59507
Bug ID: 59507 Summary: ICE: in mark_reachable_handlers, at tree-eh.c:3833 with -O -fnon-call-exceptions -fvtable-verify=preinit Product: gcc Version: 4.9.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 31439 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31439&action=edit reduced testcase Compiler output: $ gcc -O -fnon-call-exceptions -fvtable-verify=preinit testcase.C testcase.C: In function 'void print()': testcase.C:44:6: internal compiler error: in mark_reachable_handlers, at tree-eh.c:3833 void print () ^ 0xd1ca11 mark_reachable_handlers /mnt/svn/gcc-trunk/gcc/tree-eh.c:3833 0xd1cb52 remove_unreachable_handlers /mnt/svn/gcc-trunk/gcc/tree-eh.c:3866 0xd1e5f5 execute_cleanup_eh_1 /mnt/svn/gcc-trunk/gcc/tree-eh.c:4536 0xd1e5f5 execute_cleanup_eh /mnt/svn/gcc-trunk/gcc/tree-eh.c:4569 0xd1e5f5 execute /mnt/svn/gcc-trunk/gcc/tree-eh.c:4614 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. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-205916-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-205916-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.9.0 20131212 (experimental) (GCC)