public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fxue at os dot amperecomputing.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102214] New: ICE when compiling local class with -fno-weak Date: Mon, 06 Sep 2021 09:23:55 +0000 [thread overview] Message-ID: <bug-102214-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102214 Bug ID: 102214 Summary: ICE when compiling local class with -fno-weak Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fxue at os dot amperecomputing.com Target Milestone: --- Created attachment 51413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51413&action=edit testcase Compiling attached testcase with option "-flto -O3 -fno-weak" will get: during IPA pass: *free_lang_data ic.cpp:5:11: internal compiler error: in mangle_decl, at cp/mangle.c:4088 5 | class InnerParent { | ^~~~~~~~~~~ 0xbe3ef2 mangle_decl(tree_node*) ../../gcc/cp/mangle.c:4088 0x17b0ac4 decl_assembler_name(tree_node*) ../../gcc/tree.c:710 0x17bd358 assign_assembler_name_if_needed(tree_node*) ../../gcc/tree.c:6318 0x17bd471 free_lang_data_in_cgraph ../../gcc/tree.c:6366 0x17bd606 free_lang_data ../../gcc/tree.c:6411 0x17bd7ac execute ../../gcc/tree.c:6483
next reply other threads:[~2021-09-06 9:23 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-06 9:23 fxue at os dot amperecomputing.com [this message] 2021-09-06 9:34 ` [Bug c++/102214] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org 2022-01-17 13:32 ` rguenth at gcc dot gnu.org 2022-05-27 9:46 ` [Bug c++/102214] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-06-28 10:46 ` jakub at gcc dot gnu.org 2023-07-07 10:40 ` [Bug c++/102214] [11/12/13/14 " rguenth 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-102214-4@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: linkBe 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).