]> git.ipfire.org Git - thirdparty/gcc.git/commit
2015-07-07 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jul 2015 14:12:44 +0000 (14:12 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jul 2015 14:12:44 +0000 (14:12 +0000)
commit54c06b77659b523e599953a2d0d225e374c84841
treedaaaff74c7d6229017ab98b9e6dc9cbfc072a51c
parentda0aab04be0737b64df81229c4e1c010bb96ef71
2015-07-07  Richard Biener  <rguenther@suse.de>

* fold-const.c (fold_binary_loc): Move
(X & C2) << C1 -> (X << C1) & (C2 << C1) simplification ...
* match.pd: ... here.
Add (X * C1) % C2 -> 0 simplification pattern derived from
extract_muldiv_1.

* gcc.dg/vect/vect-over-widen-3-big-array.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225517 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-over-widen-3-big-array.c