public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit Date: Fri, 16 Oct 2020 12:17:07 +0000 [thread overview] Message-ID: <bug-97360-4-IbKixSx3A4@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97360-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |rguenth at gcc dot gnu.org --- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- See verify_gimple_comparison for what GIMPLE allows [to slip through]: /* For comparisons we do not have the operations type as the effective type the comparison is carried out in. Instead we require that either the first operand is trivially convertible into the second, or the other way around. Because we special-case pointers to void we allow comparisons of pointers with the same mode as well. */ if (!useless_type_conversion_p (op0_type, op1_type) && !useless_type_conversion_p (op1_type, op0_type) && (!POINTER_TYPE_P (op0_type) || !POINTER_TYPE_P (op1_type) || TYPE_MODE (op0_type) != TYPE_MODE (op1_type))) { so this is the two pointers, same mode "exception". I don't see the void * special-casing anymore though. That means removing the exception above and fixing the fallout might be the way to go. I guess FEs are in the end responsible for the above.
next prev parent reply other threads:[~2020-10-16 12:17 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-10 3:08 [Bug tree-optimization/97360] New: " amodra at gmail dot com 2020-10-11 22:07 ` [Bug tree-optimization/97360] " msebor at gcc dot gnu.org 2020-10-12 6:23 ` [Bug tree-optimization/97360] [11 Regression] " rguenth at gcc dot gnu.org 2020-10-12 7:42 ` marxin at gcc dot gnu.org 2020-10-12 8:02 ` amodra at gmail dot com 2020-10-12 8:06 ` amodra at gmail dot com 2020-10-12 8:23 ` marxin at gcc dot gnu.org 2020-10-12 9:28 ` aldyh at gcc dot gnu.org 2020-10-12 23:42 ` amodra at gmail dot com 2020-10-15 6:50 ` amodra at gmail dot com 2020-10-15 8:51 ` marxin at gcc dot gnu.org 2020-10-15 12:14 ` amodra at gmail dot com 2020-10-15 14:09 ` amacleod at redhat dot com 2020-10-16 12:17 ` rguenth at gcc dot gnu.org [this message] 2020-10-16 13:38 ` amacleod at redhat dot com 2020-10-16 13:48 ` rguenth at gcc dot gnu.org 2020-10-16 13:55 ` amacleod at redhat dot com 2020-10-16 13:58 ` rguenther at suse dot de 2020-10-16 14:17 ` amacleod at redhat dot com 2020-10-16 15:02 ` rguenther at suse dot de 2020-10-16 15:46 ` amacleod at redhat dot com 2020-10-16 16:55 ` rguenther at suse dot de 2020-10-16 17:00 ` amacleod at redhat dot com 2020-10-19 6:08 ` rguenth at gcc dot gnu.org 2020-10-19 13:29 ` bergner at gcc dot gnu.org 2020-10-19 18:45 ` bergner at gcc dot gnu.org 2020-10-19 19:47 ` amacleod at redhat dot com 2020-10-19 20:50 ` bergner at gcc dot gnu.org 2020-10-19 21:21 ` bergner at gcc dot gnu.org 2020-10-19 22:40 ` bergner at gcc dot gnu.org 2020-10-19 23:11 ` cvs-commit at gcc dot gnu.org 2020-10-19 23:28 ` amacleod at redhat dot com 2020-10-20 6:23 ` rguenth at gcc dot gnu.org 2020-10-20 14:16 ` bergner at gcc dot gnu.org 2020-10-20 14:41 ` rguenther at suse dot de 2020-10-20 16:03 ` bergner at gcc dot gnu.org 2020-10-20 20:27 ` segher at gcc dot gnu.org 2020-10-21 19:30 ` cvs-commit at gcc dot gnu.org 2020-10-21 19:34 ` bergner at gcc dot gnu.org 2020-11-07 22:32 ` cvs-commit at gcc dot gnu.org 2020-11-07 22:36 ` bergner 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-97360-4-IbKixSx3A4@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).