https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65531
Bug ID: 65531 Summary: ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 35118 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35118&action=edit reduced testcase Compiler output: $ gcc -fcheck-pointer-bounds -mmpx testcase.C testcase.C:10:4: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. S s; ^ _ZN1SD1Ev.chkp/11 (S::~S(#'pointer_bounds_type' not supported by dump_type#<type error>, void, ...)) @0x7f52d8b0f310 Type: function definition analyzed alias cpp_implicit_alias Visibility: external public weak comdat comdat_group:_ZN1SD5Ev one_only Same comdat group as: _ZN1SD1Ev/2 Address is taken. References: _ZN1SD2Ev.chkp/10 (alias) Referring: _ZN1SD1Ev/2 (chkp) Availability: available First run: 0 Function flags: Called by: Calls: Is instrumented version. _ZN1SD2Ev.chkp/10 (S::~S(#'pointer_bounds_type' not supported by dump_type#<type error>, void, ...)) @0x7f52d8b0f188 Type: function definition analyzed Visibility: external public weak comdat comdat_group:_ZN1SD5Ev one_only artificial Same comdat group as: _ZN1SD2Ev/1 Address is taken. References: Referring: _ZN1SD1Ev.chkp/11 (alias)_ZN1SD2Ev/1 (chkp) Availability: available First run: 0 Function flags: body Called by: _ZN1SD2Ev/1 (1.00 per call) Calls: Is instrumented version. testcase.C:10:4: internal compiler error: symtab_node::verify failed 0x9dc3c4 symtab_node::verify_symtab_nodes() /mnt/svn/gcc-trunk/gcc/symtab.c:1140 0xc28668 symbol_table::remove_unreachable_nodes(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/ipa.c:686 0xd0d4bd execute_todo /mnt/svn/gcc-trunk/gcc/passes.c:2023 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-221530-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/5.0.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-221530-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 5.0.0 20150320 (experimental) (GCC) Tested revisions: r221530 - ICE