]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backport PRs 56273, 59124, 64199, 64277, 64365, 64493, 64495
authorRichard Biener <rguenther@suse.de>
Thu, 19 Feb 2015 14:13:16 +0000 (14:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 19 Feb 2015 14:13:16 +0000 (14:13 +0000)
commitf7c7543a7aa1ab5109b35e7e0fe2208ed33a9791
treebd52994c362a741fd1d98c3ac67a9214bee3d35b
parentf7066ce417eebd88c1483f6d74afc1f27e5ee543
Backport PRs 56273, 59124, 64199, 64277, 64365, 64493, 64495

2015-02-19  Richard Biener  <rguenther@suse.de>

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

PR middle-end/64199
* fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P.

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

2015-01-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64493
PR tree-optimization/64495
* tree-vect-loop.c (vect_finalize_reduction): For double-reductions
assign the proper vectorized PHI to the inner loop exit PHIs.

* gcc.dg/vect/pr64493.c: New testcase.
* gcc.dg/vect/pr64495.c: Likewise.

2015-01-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56273
PR tree-optimization/59124
PR tree-optimization/64277
* tree-vrp.c (vrp_finalize): Emit array-bound warnings only
from the first VRP pass.

* g++.dg/warn/Warray-bounds-6.C: New testcase.
* gcc.dg/Warray-bounds-12.c: Likewise.
* gcc.dg/Warray-bounds-13.c: Likewise.

2015-02-19  Richard Biener  <rguenther@suse.de>

Backport from mainline
2015-01-15  Richard Biener  <rguenther@suse.de>

PR middle-end/64365
* tree-data-ref.c (dr_analyze_indices): Make sure that accesses
for MEM_REF access functions with the same base can never partially
overlap.

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

From-SVN: r220815
13 files changed:
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Warray-bounds-6.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/Warray-bounds-12.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Warray-bounds-13.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr64199.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr64365.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr64493.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr64495.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-vect-loop.c
gcc/tree-vrp.c