public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113757] [14 regression] ICE when building legion-23.03.0 since r14-8398 Date: Mon, 05 Feb 2024 03:59:43 +0000 [thread overview] Message-ID: <bug-113757-4-UQtY6UfvoQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-113757-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113757 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-reduction | --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced a little further without the undefinedness but with a noreturn function in use (which is important for the ICE here): ``` long size(); struct ll { virtual int hh(); }; ll *slice_owner; int ll::hh() { __builtin_exit(0); } int nn() { if (size()) return 0; return slice_owner->hh(); } int (*a)() = nn; ``` Note the decl a is needed to force nn to have its address taken (simulating a virtual function).
next prev parent reply other threads:[~2024-02-05 3:59 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-04 20:29 [Bug c++/113757] New: [14 regression] ICE when building legion-23.03.0 sjames at gcc dot gnu.org 2024-02-04 20:36 ` [Bug c++/113757] " sjames at gcc dot gnu.org 2024-02-04 20:42 ` sjames at gcc dot gnu.org 2024-02-04 20:59 ` [Bug tree-optimization/113757] " pinskia at gcc dot gnu.org 2024-02-04 21:11 ` pinskia at gcc dot gnu.org 2024-02-04 22:19 ` [Bug tree-optimization/113757] [14 regression] ICE when building legion-23.03.0 since r14-8398 jakub at gcc dot gnu.org 2024-02-05 3:28 ` sjames at gcc dot gnu.org 2024-02-05 3:59 ` pinskia at gcc dot gnu.org [this message] 2024-02-05 16:53 ` jamborm at gcc dot gnu.org 2024-02-08 10:18 ` jamborm at gcc dot gnu.org 2024-03-08 23:48 ` cvs-commit at gcc dot gnu.org 2024-03-08 23:50 ` jamborm at gcc dot gnu.org 2024-04-08 15:51 ` cvs-commit at gcc dot gnu.org 2024-05-15 13:46 ` cvs-commit 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-113757-4-UQtY6UfvoQ@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).