OSDN Git Service

2005-04-18 James A. Morrison <phython@gcc.gnu.org>
authorphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 15:18:21 +0000 (15:18 +0000)
committerphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 15:18:21 +0000 (15:18 +0000)
commit89a6fcda688b6ac8df4d0a70e448556b88758582
tree9a986aa5b5fe42c3e7cb2e30a5bd0d19a609233d
parent6dbbbfec3b418e6dc95f1dc60c37ba41b12cc14d
2005-04-18  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/20922
        * fold-const.c (fold_binary): Fold X - c > X and X + c < X to false.
        Fold X + c >= X and fold X - c <= X to true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98321 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr20922-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20922-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20922-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20922-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20922-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20922-6.c [new file with mode: 0644]