fold-const.c (make_range_step): Bail out if the range isn't testing for zero.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 1 Feb 2013 10:19:57 +0000 (10:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 1 Feb 2013 10:19:57 +0000 (10:19 +0000)
commit9f419393f2a0219c6f2e7ad083e61b370ca36827
tree4821ed36b3d315fee9506dbb4b7780b80c012e8d
parenta1948282e8038f305351d51bb5450353d331dd3e
fold-const.c (make_range_step): Bail out if the range isn't testing for zero.

* fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
range isn't testing for zero.

From-SVN: r195642
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt26.adb [new file with mode: 0644]