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++/113347] [13 Regression] ICE during gimplification building TVM since r13-8079-gd237e7b291ff52 Date: Fri, 12 Jan 2024 08:24:02 +0000 [thread overview] Message-ID: <bug-113347-4-wEXhnErOQl@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-113347-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113347 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-01-12 Status|UNCONFIRMED |NEW Summary|[13 Regression] ICE during |[13 Regression] ICE during |gimplification building TVM |gimplification building TVM | |since | |r13-8079-gd237e7b291ff52 CC| |jason at gcc dot gnu.org --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- (gdb) p debug_tree (*expr_p) <modify_expr 0x7ffff6bd35c8 type <boolean_type 0x7ffff6a2eb28 bool public unsigned type_6 QI size <integer_cst 0x7ffff6a300c0 constant 8> unit-size <integer_cst 0x7ffff6a300d8 constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff6a2eb28 precision:1 min <integer_cst 0x7ffff6a30318 0> max <integer_cst 0x7ffff6a30348 1>> side-effects readonly arg:1 <integer_cst 0x7ffff6a30318 type <boolean_type 0x7ffff6a2eb28 bool> constant 0>> so the LHS of the MODIFY_EXPR is NULL. This is built by finalize_nrv_r: /* If a cleanup might throw, we need to clear current_retval_sentinel on the exception path so an outer cleanup added by maybe_splice_retval_cleanup doesn't run. */ if (cp_function_chain->throwing_cleanup) { tree clear = build2 (MODIFY_EXPR, boolean_type_node, current_retval_sentinel, boolean_false_node); /* We're already only on the EH path, just prepend it. */ tree &exp = CLEANUP_EXPR (*tp); exp = build2 (COMPOUND_EXPR, void_type_node, clear, exp); and current_retval_sentinel is NULL here. Caused by the backport of PR112301, r13-8079-gd237e7b291ff52.
next prev parent reply other threads:[~2024-01-12 8:24 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-12 7:17 [Bug c++/113347] New: ICE during gimplification building TVM rguenth at gcc dot gnu.org 2024-01-12 7:17 ` [Bug c++/113347] " rguenth at gcc dot gnu.org 2024-01-12 7:18 ` rguenth at gcc dot gnu.org 2024-01-12 7:20 ` [Bug c++/113347] [13 Regression] " rguenth at gcc dot gnu.org 2024-01-12 8:10 ` fabian@ritter-vogt.de 2024-01-12 8:24 ` rguenth at gcc dot gnu.org [this message] 2024-01-12 8:28 ` [Bug c++/113347] [12/13 Regression] ICE during gimplification building TVM since r13-8079-gd237e7b291ff52 rguenth at gcc dot gnu.org 2024-01-15 7:33 ` rguenth at gcc dot gnu.org 2024-01-15 19:08 ` mpolacek at gcc dot gnu.org 2024-01-18 19:16 ` mpolacek at gcc dot gnu.org 2024-01-22 22:43 ` pinskia at gcc dot gnu.org 2024-01-23 20:28 ` jason at gcc dot gnu.org 2024-01-24 19:39 ` cvs-commit at gcc dot gnu.org 2024-01-24 19:40 ` cvs-commit at gcc dot gnu.org 2024-01-24 19:42 ` cvs-commit at gcc dot gnu.org 2024-01-24 19:43 ` jason 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-113347-4-wEXhnErOQl@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).