https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103937

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-01-07
           Keywords|                            |ice-on-valid-code
            Summary|Assembler error: symbol is  |[11/12 Regression]
                   |already defined when        |Assembler error: symbol is
                   |compiling static member     |already defined when
                   |function templates          |compiling static member
                   |                            |function templates since
                   |                            |r11-7965-g23be03a0f243a084
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Target Milestone|---                         |11.3
     Ever confirmed|0                           |1

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r11-7965-g23be03a0f243a084:

pr103937.C:13:1: error: Two symbols with same comdat_group are not linked by
the same_comdat_group list.
   13 | }
      | ^
_ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NKUlvE_cvS4_Ev/6 (constexpr
SortAlgorithm::<lambda()>::operator bool (*)()() const) @0x7ffff7933770
  Type: function definition analyzed
  Visibility: no_reorder public weak comdat
comdat_group:_ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NKUlvE_cvS4_Ev one_only
artificial
  previous sharing asm name: 2
  References: _ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NUlvE_4_FUNEv/5 (addr)
__gxx_personality_v0/8 (addr) 
  Referring: 
  Function flags: body
  Called by: _ZN13SortAlgorithm4testIiEEvPT_PFbvE/7 
  Calls: 
_ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NKUlvE_cvS4_Ev/2 (constexpr
SortAlgorithm::<lambda()>::operator bool (*)()() const) @0x7ffff7933330
  Type: function definition analyzed
  Visibility: no_reorder public weak comdat
comdat_group:_ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NKUlvE_cvS4_Ev one_only
artificial
  next sharing asm name: 6
  References: _ZZN13SortAlgorithm4testIiEEvPT_PFbvEEd_NUlvE_4_FUNEv/1 (addr)
__gxx_personality_v0/8 (addr) 
  Referring: 
  Function flags: body
  Called by: main/3 
  Calls: 
pr103937.C:13:1: internal compiler error: symtab_node::verify failed
0x7ffff7a545bf __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7ffff7a5467b __libc_start_main_impl
        ../csu/libc-start.c:409
Please submit a full bug report,

Reply via email to