public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "roger at nextmovesoftware dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/101642] [12 Regression] ice in decompose, at wide-int.h:984 Date: Tue, 27 Jul 2021 15:08:16 +0000 [thread overview] Message-ID: <bug-101642-4-6iKfgTaKj1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101642-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101642 Roger Sayle <roger at nextmovesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger at nextmovesoftware dot com --- Comment #11 from Roger Sayle <roger at nextmovesoftware dot com> --- Hi Jakub, Sorry for the inconvenience. I've just come up with a near-identical fix. I think it's safe to strip the (symmetric) bswaps in the first transformation, but I'm now paranoid enough to explicitly convert both operands of the cmp to the same comparison type in the second transformation. - (cmp (bswap @0) INTEGER_CST@1) - (cmp @0 (bswap @1)))) + (cmp (bswap@0 @1) INTEGER_CST@2) + (with { tree t = TREE_TYPE(@0); } + (cmp (convert:t @1) (convert:t (bswap @2))))))
next prev parent reply other threads:[~2021-07-27 15:08 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-27 12:08 [Bug c/101642] New: " dcb314 at hotmail dot com 2021-07-27 12:13 ` [Bug c/101642] " dcb314 at hotmail dot com 2021-07-27 12:21 ` dcb314 at hotmail dot com 2021-07-27 12:24 ` dcb314 at hotmail dot com 2021-07-27 12:43 ` dcb314 at hotmail dot com 2021-07-27 12:43 ` jakub at gcc dot gnu.org 2021-07-27 12:50 ` [Bug middle-end/101642] [12 Regression] " rguenth at gcc dot gnu.org 2021-07-27 12:55 ` zsojka at seznam dot cz 2021-07-27 14:11 ` jakub at gcc dot gnu.org 2021-07-27 14:15 ` zsojka at seznam dot cz 2021-07-27 14:17 ` jakub at gcc dot gnu.org 2021-07-27 14:50 ` jakub at gcc dot gnu.org 2021-07-27 15:08 ` roger at nextmovesoftware dot com [this message] 2021-07-28 16:42 ` cvs-commit at gcc dot gnu.org 2021-07-28 16:46 ` jakub at gcc dot gnu.org 2021-08-02 12:31 ` 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-101642-4-6iKfgTaKj1@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).