public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26 Date: Tue, 12 Dec 2023 20:21:33 +0000 [thread overview] Message-ID: <bug-112822-4-5pcG828TWT@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-112822-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Jambor <jamborm@gcc.gnu.org>: https://gcc.gnu.org/g:cd7d0b4cf789264cd75ab7df5df232dc58061ed7 commit r14-6466-gcd7d0b4cf789264cd75ab7df5df232dc58061ed7 Author: Martin Jambor <mjambor@suse.cz> Date: Tue Dec 12 21:19:21 2023 +0100 SRA: Force gimple operand in an additional corner case (PR 112822) PR 112822 revealed a corner case in load_assign_lhs_subreplacements where it creates invalid gimple: an assignment where on the LHS there is a complex variable which however is not a gimple register because it has partial defs and on the right hand side there is a VIEW_CONVERT_EXPR. This patch invokes force_gimple_operand_gsi on such statements (like it already does when both sides of a generated assignment have partial definitions. gcc/ChangeLog: 2023-12-12 Martin Jambor <mjambor@suse.cz> PR tree-optimization/112822 * tree-sra.cc (load_assign_lhs_subreplacements): Invoke force_gimple_operand_gsi also when LHS has partial stores and RHS is a VIEW_CONVERT_EXPR.
next prev parent reply other threads:[~2023-12-12 20:21 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-02 2:24 [Bug middle-end/112822] New: " seurer at gcc dot gnu.org 2023-12-02 2:43 ` [Bug middle-end/112822] " pinskia at gcc dot gnu.org 2023-12-02 2:43 ` pinskia at gcc dot gnu.org 2023-12-02 18:30 ` bergner at gcc dot gnu.org 2023-12-04 3:22 ` bergner at gcc dot gnu.org 2023-12-04 7:01 ` rguenth at gcc dot gnu.org 2023-12-11 15:30 ` jamborm at gcc dot gnu.org 2023-12-11 16:27 ` jamborm at gcc dot gnu.org 2023-12-11 17:53 ` bergner at gcc dot gnu.org 2023-12-11 18:08 ` bergner at gcc dot gnu.org 2023-12-11 19:57 ` bergner at gcc dot gnu.org 2023-12-12 16:56 ` [Bug tree-optimization/112822] " jamborm at gcc dot gnu.org 2023-12-12 20:21 ` cvs-commit at gcc dot gnu.org [this message] 2023-12-12 22:46 ` cvs-commit at gcc dot gnu.org 2023-12-12 22:48 ` bergner at gcc dot gnu.org 2023-12-13 14:14 ` 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-112822-4-5pcG828TWT@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).