public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/96975] gcc cannot compile at -O0 but compiles at -O1/-O2/-O3
Date: Tue, 08 Sep 2020 13:05:43 +0000 [thread overview]
Message-ID: <bug-96975-4-lGMhjKoGx4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96975-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96975
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Keywords| |ice-checking, link-failure
Known to fail| |11.0
Last reconfirmed| |2020-09-08
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It also ICEs on trunk. I think I've seen this ICE before so there might be a
duplicate.
> ./cc1plus -quiet t.ii -O0
t.ii:7:1: error: Two symbols with same comdat_group are not linked by the
same_comdat_group list.
7 | }
| ^
_ZN1SIXadL_Z1TvEEEC1Ev/8 (S<T>::S() [with void (* T)() = T]) @0x7f30a353e9d8
Type: function definition analyzed alias cpp_implicit_alias
Visibility: public weak comdat comdat_group:_ZN1SIXadL_Z1TvEEEC5Ev one_only
Same comdat group as: _ZN1SIXadL_Z1TvEEEC2Ev/7
previous sharing asm name: 5
References: _ZN1SIXadL_Z1TvEEEC2Ev/7 (alias)
Referring:
Function flags:
Called by: main/2
Calls:
_ZN1SIXadL_Z1TvEEEC1Ev/5 (S<T>::S() [with void (* T)() = T]) @0x7f30a353e5a0
Type: function definition analyzed alias cpp_implicit_alias
Visibility: public weak comdat comdat_group:_ZN1SIXadL_Z1TvEEEC5Ev one_only
Same comdat group as: _ZN1SIXadL_Z1TvEEEC2Ev/4
next sharing asm name: 8
References: _ZN1SIXadL_Z1TvEEEC2Ev/4 (alias)
Referring:
Function flags:
Called by: _Z41__static_initialization_and_destruction_0ii/9
Calls:
t.ii:7:1: internal compiler error: symtab_node::verify failed
0xf55569 symtab_node::verify_symtab_nodes()
/home/rguenther/src/gcc2/gcc/symtab.c:1368
0xf7f07c symtab_node::checking_verify_symtab_nodes()
/home/rguenther/src/gcc2/gcc/cgraph.h:667
0xf7cec7 symbol_table::compile()
/home/rguenther/src/gcc2/gcc/cgraphunit.c:2755
0xf7d4ae symbol_table::finalize_compilation_unit()
/home/rguenther/src/gcc2/gcc/cgraphunit.c:3017
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.
next prev parent reply other threads:[~2020-09-08 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 11:27 [Bug c++/96975] New: " tangyixuan at mail dot dlut.edu.cn
2020-09-08 13:05 ` rguenth at gcc dot gnu.org [this message]
2020-09-11 13:08 ` [Bug c++/96975] " mpolacek at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-96975-4-lGMhjKoGx4@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).