diff options
author | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-20 15:32:37 +0000 |
---|---|---|
committer | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-20 15:32:37 +0000 |
commit | d040acf9713e6810b1eeb927296f42c497672272 (patch) | |
tree | 24fa579ac055b2df237950de895300575de9cbe4 /gcc/ChangeLog | |
parent | 0dabddb200ff420c984f8a15e4f0a6b25c9164c8 (diff) | |
download | gcc-d040acf9713e6810b1eeb927296f42c497672272.tar.gz |
Simplify X /[ex] 8 == 0
2016-11-20 Marc Glisse <marc.glisse@inria.fr>
gcc/
* fold-const.c (fold_comparison): Ignore EXACT_DIV_EXPR.
* match.pd (A /[ex] B CMP C): New simplifications.
gcc/testsuite/
* gcc.dg/tree-ssa/cmpexactdiv.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c64b3492b75..d02d6e5b536 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2016-11-20 Marc Glisse <marc.glisse@inria.fr> + * fold-const.c (fold_comparison): Ignore EXACT_DIV_EXPR. + * match.pd (A /[ex] B CMP C): New simplifications. + +2016-11-20 Marc Glisse <marc.glisse@inria.fr> + * match.pd (0 / X, X / X, X % X): New simplifications. 2016-11-19 Jakub Jelinek <jakub@redhat.com> |