public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101732] New: ICE: symtab_node::verify failed
@ 2021-08-02 18:50 gscfq@t-online.de
2021-08-02 19:40 ` [Bug c++/101732] " pinskia at gcc dot gnu.org
2021-08-03 4:57 ` [Bug c++/101732] ICE with extern "C" and auto argument pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2021-08-02 18:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101732
Bug ID: 101732
Summary: ICE: symtab_node::verify failed
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to at least r5 (with -std=c++14) :
(gcc configured with --enable-checking=yes)
$ cat z1.cc
extern "C"
int f (auto x)
{
return x;
}
int g ()
{
return (f (1) != f (1.0));
}
$ g++-12-20210801 -c z1.cc -std=c++20
z1.cc:9:1: error: Two symbols with same comdat_group are not linked by the
same_comdat_group list.
9 | }
| ^
f/2 (int f(auto:1) [with auto:1 = double]) @0x7f61bc8d0220
Type: function definition analyzed
Visibility: no_reorder public weak comdat comdat_group:f one_only
previous sharing asm name: 1
References:
Referring:
Function flags: body
Called by: _Z1gv/0
Calls:
f/1 (int f(auto:1) [with auto:1 = int]) @0x7f61bc8d0110
Type: function definition analyzed
Visibility: no_reorder public weak comdat comdat_group:f one_only
next sharing asm name: 2
References:
Referring:
Function flags: body
Called by: _Z1gv/0
Calls:
z1.cc:9:1: internal compiler error: symtab_node::verify failed
0xb34732 symtab_node::verify_symtab_nodes()
../../gcc/symtab.c:1406
0xb4c07f symtab_node::checking_verify_symtab_nodes()
../../gcc/cgraph.h:678
0xb4c07f symbol_table::compile()
../../gcc/cgraphunit.c:2272
0xb5019f symbol_table::compile()
../../gcc/cgraphunit.c:2540
0xb5019f symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2537
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/101732] ICE: symtab_node::verify failed
2021-08-02 18:50 [Bug c++/101732] New: ICE: symtab_node::verify failed gscfq@t-online.de
@ 2021-08-02 19:40 ` pinskia at gcc dot gnu.org
2021-08-03 4:57 ` [Bug c++/101732] ICE with extern "C" and auto argument pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-02 19:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101732
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Target|x86_64-pc-linux-gnu |
Last reconfirmed| |2021-08-02
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
The template version is rejected rather than using auto.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/101732] ICE with extern "C" and auto argument
2021-08-02 18:50 [Bug c++/101732] New: ICE: symtab_node::verify failed gscfq@t-online.de
2021-08-02 19:40 ` [Bug c++/101732] " pinskia at gcc dot gnu.org
@ 2021-08-03 4:57 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-03 4:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101732
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hstong at ca dot ibm.com
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 96529 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-03 4:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 18:50 [Bug c++/101732] New: ICE: symtab_node::verify failed gscfq@t-online.de
2021-08-02 19:40 ` [Bug c++/101732] " pinskia at gcc dot gnu.org
2021-08-03 4:57 ` [Bug c++/101732] ICE with extern "C" and auto argument pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).