https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44254
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking, | |ice-on-valid-code --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With checking turned on we get: <source>:8:1: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. 8 | } | ^ _ZN1AIXadL_Z1aEEEC1Ev/7 (A<p>::A() [with int* p = (& a)]) @0x7f32dd186770 Type: function definition analyzed alias cpp_implicit_alias Visibility: public weak comdat comdat_group:_ZN1AIXadL_Z1aEEEC5Ev one_only Same comdat group as: _ZN1AIXadL_Z1aEEEC2Ev/6 previous sharing asm name: 4 References: _ZN1AIXadL_Z1aEEEC2Ev/6 (alias) Referring: Function flags: Called by: main/1 Calls: _ZN1AIXadL_Z1aEEEC1Ev/4 (A<p>::A() [with int* p = (& a)]) @0x7f32dd186440 Type: function definition analyzed alias cpp_implicit_alias Visibility: public weak comdat comdat_group:_ZN1AIXadL_Z1aEEEC5Ev one_only Same comdat group as: _ZN1AIXadL_Z1aEEEC2Ev/3 next sharing asm name: 7 References: _ZN1AIXadL_Z1aEEEC2Ev/3 (alias) Referring: Function flags: Called by: main/1 Calls: <source>:8:1: internal compiler error: symtab_node::verify failed 0x1d80e09 internal_error(char const*, ...) ???:0 0xbbe032 symtab_node::verify_symtab_nodes() ???:0 0xbda1df symbol_table::finalize_compilation_unit() ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ASM generation compiler returned: 1 <source>:8:1: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. 8 | } | ^ _ZN1AIXadL_Z1aEEEC1Ev/7 (A<p>::A() [with int* p = (& a)]) @0x7fd7568fe770 Type: function definition analyzed alias cpp_implicit_alias Visibility: public weak comdat comdat_group:_ZN1AIXadL_Z1aEEEC5Ev one_only Same comdat group as: _ZN1AIXadL_Z1aEEEC2Ev/6 previous sharing asm name: 4 References: _ZN1AIXadL_Z1aEEEC2Ev/6 (alias) Referring: Function flags: Called by: main/1 Calls: _ZN1AIXadL_Z1aEEEC1Ev/4 (A<p>::A() [with int* p = (& a)]) @0x7fd7568fe440 Type: function definition analyzed alias cpp_implicit_alias Visibility: public weak comdat comdat_group:_ZN1AIXadL_Z1aEEEC5Ev one_only Same comdat group as: _ZN1AIXadL_Z1aEEEC2Ev/3 next sharing asm name: 7 References: _ZN1AIXadL_Z1aEEEC2Ev/3 (alias) Referring: Function flags: Called by: main/1 Calls: