]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: [multiple changes]
authorRichard Biener <rguenther@suse.de>
Tue, 9 Sep 2014 13:17:51 +0000 (13:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Sep 2014 13:17:51 +0000 (13:17 +0000)
commitd310260c5b5416078b359e42f5ee9413237e6557
treee8d9701ad8911602925c925936f4367149920c07
parent8fa8d312ab34e10469b243680b3c753a90dcd154
backport: [multiple changes]

2014-09-09  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-05-05  Richard Biener  <rguenther@suse.de>

PR middle-end/61010
* fold-const.c (fold_binary_loc): Consistently avoid
canonicalizing X & CST away from a CST that is the mask
of a mode.

* gcc.dg/torture/pr61010.c: New testcase.

2014-05-28  Richard Biener  <rguenther@suse.de>

PR middle-end/61045
* fold-const.c (fold_comparison): When folding
X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
the sign of the remaining constant operand stays the same.

* gcc.dg/pr61045.c: New testcase.

2014-08-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/62075
* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
handle uses in patterns.

* gcc.dg/vect/pr62075.c: New testcase.

From-SVN: r215073
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61045.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr61010.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr62075.c [new file with mode: 0644]
gcc/tree-vect-slp.c