[Bug c++/93643] [10 Regression] Static function pointer inside inline function with "C" linkage is not mangled
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 10 10:48:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93643
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-02-10
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r10-6110-g8158a4640819dbb3210326e37786fb874f450272 , before that
the vars have been mangled - _ZZ2f1E1f, _ZZ2f2E1f .
BTW, I get an ICE instead of assembler-failure:
pr93643.C:25:1: error: Two symbols with same comdat_group are not linked by the
same_comdat_group list.
25 | }
| ^
f/2 (void (* f)()) @0x7f7f7a699200
Type: variable definition analyzed
Visibility: no_reorder public weak comdat comdat_group:f one_only
previous sharing asm name: 0
References:
Referring: f2/3 (write)f2/3 (read)
Availability: not-ready
Varpool flags:
f/0 (void (* f)()) @0x7f7f7a699180
Type: variable definition analyzed
Visibility: no_reorder public weak comdat comdat_group:f one_only
next sharing asm name: 2
References:
Referring: f1/1 (write)f1/1 (read)
Availability: not-ready
Varpool flags:
pr93643.C:25:1: internal compiler error: symtab_node::verify failed
0xe54eff symtab_node::verify_symtab_nodes()
../../gcc/symtab.c:1342
0xe7cf94 symtab_node::checking_verify_symtab_nodes()
../../gcc/cgraph.h:667
0xe7b065 symbol_table::compile()
../../gcc/cgraphunit.c:2720
0xe7b696 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2984
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.
assembler-failure only if -fno-checking.
More information about the Gcc-bugs
mailing list