public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "amacleod at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93917] VRP forgets range of value read from memory
Date: Tue, 19 Sep 2023 15:11:15 +0000	[thread overview]
Message-ID: <bug-93917-4-gQdsfiqof8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-93917-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93917

--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> ---
Note a slight change in expectation as a result of commit
r14-4141-gbf6b107e2a342319b3787ec960fc8014ef3aff91  for PR 110080

Due to a memory load in the second case, we do not remove the unreachable call
now as there may be a commoning opportunity later (via inlining in this case)
in which this unreachable call may provide new information.

The test case has been adjusted to current expectations where we leave this
unreachable call and then remove it and set the global range in VRP2 instead.

      parent reply	other threads:[~2023-09-19 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-93917-4@http.gcc.gnu.org/bugzilla/>
2020-11-19 23:20 ` amacleod at redhat dot com
2022-11-03 19:30 ` amacleod at redhat dot com
2022-11-28 22:09 ` pinskia at gcc dot gnu.org
2023-09-19 15:11 ` amacleod at redhat dot com [this message]

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-93917-4-gQdsfiqof8@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: link
Be 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).