public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64130] vrp: handle non zero constant divided by range cannot be zero.
Date: Mon, 29 Jun 2015 00:16:00 -0000	[thread overview]
Message-ID: <bug-64130-4-Uo5HDCw7Eo@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64130-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #11 from kugan at gcc dot gnu.org ---
Author: kugan
Date: Mon Jun 29 00:15:41 2015
New Revision: 225108

URL: https://gcc.gnu.org/viewcvs?rev=225108&root=gcc&view=rev
Log:
gcc/ChangeLog:

2015-06-29  Kugan Vivekanandarajah  <kuganv@linaro.org>

        PR middle-end/64130
        * tree-vrp.c (extract_range_from_binary_expr_1): For unsigned
        division, compute max and min when value ranges for dividend and
        divisor are available.


gcc/testsuite/ChangeLog:

2015-06-29  Kugan Vivekanandarajah  <kuganv@linaro.org>

        PR middle-end/64130
        * gcc.dg/tree-ssa/pr64130.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr64130.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


  parent reply	other threads:[~2015-06-29  0:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30 20:40 [Bug tree-optimization/64130] New: " andi-gcc at firstfloor dot org
2014-11-30 20:47 ` [Bug tree-optimization/64130] " glisse at gcc dot gnu.org
2014-11-30 20:49 ` pinskia at gcc dot gnu.org
2014-11-30 20:57 ` andi-gcc at firstfloor dot org
2014-12-01  9:30 ` rguenth at gcc dot gnu.org
2015-06-18 23:38 ` kugan at gcc dot gnu.org
2015-06-19  7:13 ` pinskia at gcc dot gnu.org
2015-06-19  8:05 ` glisse at gcc dot gnu.org
2015-06-19 11:36 ` kugan at gcc dot gnu.org
2015-06-29  0:16 ` kugan at gcc dot gnu.org [this message]
2015-06-29  8:39 ` rguenth 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-64130-4-Uo5HDCw7Eo@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).