public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/115297] [14/15 regression] alpha: ICE in simplify_subreg, at simplify-rtx.cc:7554 with -O1 Date: Fri, 31 May 2024 08:22:41 +0000 [thread overview] Message-ID: <bug-115297-4-TFEq8Fa6fU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-115297-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115297 --- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 58315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58315&action=edit Proposed patch any_divmod instructions are modelled with invalid RTX: [(set (match_operand:DI 0 "register_operand" "=c") (sign_extend:DI (match_operator:SI 3 "divmod_operator" [(match_operand:DI 1 "register_operand" "a") (match_operand:DI 2 "register_operand" "b")]))) (clobber (reg:DI 23)) (clobber (reg:DI 28))] SImode divmod_operator (div,mod,udiv,umod) has DImode operands. The patch adds truncate:SI to the input operand to make machine modes consistent.
next prev parent reply other threads:[~2024-05-31 8:22 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-31 1:24 [Bug rtl-optimization/115297] New: [14 " matoro_gcc_bugzilla at matoro dot tk 2024-05-31 6:47 ` [Bug rtl-optimization/115297] [14/15 " rguenth at gcc dot gnu.org 2024-05-31 8:22 ` ubizjak at gmail dot com [this message] 2024-05-31 13:52 ` cvs-commit at gcc dot gnu.org 2024-05-31 14:39 ` cvs-commit at gcc dot gnu.org 2024-06-03 13:53 ` cvs-commit at gcc dot gnu.org 2024-06-03 14:13 ` cvs-commit at gcc dot gnu.org 2024-06-03 14:36 ` cvs-commit at gcc dot gnu.org 2024-06-03 14:36 ` ubizjak at gmail dot com
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-115297-4-TFEq8Fa6fU@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).