public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111711] [14 Regression] ICE: in maybe_legitimize_operand, at optabs.cc:8046 at -O1 with division by zero Date: Fri, 06 Oct 2023 08:29:41 +0000 [thread overview] Message-ID: <bug-111711-4-iQOD7e64K3@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-111711-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111711 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords|needs-bisection | Last reconfirmed| |2023-10-06 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It was introduced by r14-2667-gceae1400cf24f329393e96dd9720 . We have: long int x; int _3; _Bool _5; _3 = 0 / 0; _5 = _3 == 822920; x_7 = _5 ? 822920 : 0; If I disable the added checks on dealing with rtx_equal_p, the ICE goes away. The problem is the mode for the result does not match the mode for the comparison (DImode for the result of the conditional and SImode for the comparison).
next prev parent reply other threads:[~2023-10-06 8:29 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-06 5:08 [Bug rtl-optimization/111711] New: " zsojka at seznam dot cz 2023-10-06 7:51 ` [Bug rtl-optimization/111711] " rguenth at gcc dot gnu.org 2023-10-06 8:29 ` pinskia at gcc dot gnu.org [this message] 2023-10-06 8:35 ` [Bug middle-end/111711] " pinskia at gcc dot gnu.org 2023-10-06 8:48 ` 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-111711-4-iQOD7e64K3@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).