public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93353] ICE: in final_scan_insn_1, at final.c:3073 (error: could not split insn) Date: Sat, 27 Feb 2021 20:56:52 +0000 [thread overview] Message-ID: <bug-93353-4-nY3oZ9b9Hi@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-93353-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93353 --- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #7) > if (low_int >= 0x8000 - extra) > is not true and 0x7fffffff - -1 is 0x80000000 (with UB on the compiler side). These are HWIs, so there is no UB. > But also > && ((unsigned HOST_WIDE_INT) (INTVAL (XEXP (x, 1)) + 0x8000) > can invoke UB in the compiler, shouldn't it be just > && ((UINTVAL (XEXP (x, 1)) + 0x8000) > ? That sounds right, yes.
next prev parent reply other threads:[~2021-02-27 20:56 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-93353-4@http.gcc.gnu.org/bugzilla/> 2021-02-26 9:34 ` andrew.goodbody at linaro dot org 2021-02-26 9:43 ` andrew.goodbody at linaro dot org 2021-02-26 9:46 ` andrew.goodbody at linaro dot org 2021-02-27 0:21 ` segher at gcc dot gnu.org 2021-02-27 5:28 ` asolokha at gmx dot com 2021-02-27 8:54 ` jakub at gcc dot gnu.org 2021-02-27 9:02 ` jakub at gcc dot gnu.org 2021-02-27 20:48 ` segher at gcc dot gnu.org 2021-02-27 20:56 ` segher at gcc dot gnu.org [this message] 2024-03-23 23:17 ` pinskia 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-93353-4-nY3oZ9b9Hi@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).