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 tree-optimization/91789] Value ranges determined from comparisons not used transitively Date: Thu, 16 Dec 2021 00:09:20 +0000 [thread overview] Message-ID: <bug-91789-4-vCoU9xx4SM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-91789-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91789 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We have in evrp: Registering value_relation (b_2(D) >= a_3(D)) on (2->4) ... Relational : (b_2(D) >= a_3(D)) <bb 4> : if (a_3(D) < 0) goto <bb 5>; [INV] else goto <bb 6>; [INV] 4->5 (T) a_3(D) : int [-INF, -1] 4->6 (F) a_3(D) : int [0, +INF] But then we don't update the value relationship for what we had for b_2 for the branch where a_3 >= 0, we should also a range for b_2(D) of [0, +INF] for 4->6.
next prev parent reply other threads:[~2021-12-16 0:09 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-91789-4@http.gcc.gnu.org/bugzilla/> 2020-11-06 22:20 ` amacleod at redhat dot com 2021-12-16 0:09 ` pinskia at gcc dot gnu.org [this message] 2021-12-16 3:04 ` amacleod at redhat dot com
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-91789-4-vCoU9xx4SM@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).