public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109115] [13 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in upper_bound, at value-range.h:950 Date: Tue, 14 Mar 2023 08:16:25 +0000 [thread overview] Message-ID: <bug-109115-4-YpoMQrGeXF@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109115-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109115 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>: https://gcc.gnu.org/g:72b52751c60abb327c73716259485d04b8eabe4f commit r13-6653-g72b52751c60abb327c73716259485d04b8eabe4f Author: Jakub Jelinek <jakub@redhat.com> Date: Tue Mar 14 09:15:38 2023 +0100 tree-vect-patterns: Fix up ICE in upper_bound [PR109115] As mentioned in the PR, range_of_expr returns false if the type of the expression isn't suitable for corresponding range type, but doesn't if the range is undefined for other reasons. Still, lower/upper_bound is defined only for ranges which actually have at least one pair of subranges, VR_UNDEFINED range doesn't have it. 2023-03-14 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/109115 * tree-vect-patterns.cc (vect_recog_divmod_pattern): Don't use r.upper_bound () on r.undefined_p () range. * gcc.dg/pr109115.c: New test.
next prev parent reply other threads:[~2023-03-14 8:16 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-13 20:19 [Bug tree-optimization/109115] New: " zhendong.su at inf dot ethz.ch 2023-03-13 20:23 ` [Bug tree-optimization/109115] [13 Regression] " pinskia at gcc dot gnu.org 2023-03-13 20:33 ` pinskia at gcc dot gnu.org 2023-03-13 21:55 ` jakub at gcc dot gnu.org 2023-03-13 22:00 ` jakub at gcc dot gnu.org 2023-03-13 23:51 ` amacleod at redhat dot com 2023-03-14 8:16 ` cvs-commit at gcc dot gnu.org [this message] 2023-03-14 8:17 ` jakub 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-109115-4-YpoMQrGeXF@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).