https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77605
--- Comment #9 from Richard Biener ---
Author: rguenth
Date: Tue Sep 27 10:54:00 2016
New Revision: 240527
URL: https://gcc.gnu.org/viewcvs?rev=240527=gcc=rev
Log:
2016-09-27 Richard Biener
Backport from mainline
2016-09-01 Richard Biener
PR middle-end/77436
* tree-chrec.c (tree_fold_binomial): Use widest_int, properly
check whether the result fits the desired result type.
* gcc.dg/torture/pr77436.c: New testcase.
2016-09-06 Richard Biener
PR c/77450
c-family/
* c-common.c (c_common_mark_addressable_vec): Handle
COMPOUND_LITERAL_EXPR.
* gcc.dg/pr77450.c: New testcase.
2016-09-19 Richard Biener
PR tree-optimization/77514
* tree-ssa-pre.c (create_expression_by_pieces): Optimize
search for folded stmt.
2016-09-15 Richard Biener
PR tree-optimization/77514
* tree-ssa-pre.c (create_expression_by_pieces): Handle garbage
only forced_stmts sequence.
* gcc.dg/torture/pr77514.c: New testcase.
2016-09-15 Richard Biener
PR middle-end/77544
* fold-const.c (split_tree): Do not split constant ~X.
* c-c++-common/torture/pr77544.c: New testcase.
2016-09-19 Richard Biener
PR middle-end/77605
* tree-data-ref.c (analyze_subscript_affine_affine): Use the
proper niter to bound the loops.
* gcc.dg/torture/pr77605.c: New testcase.
2016-09-22 Richard Biener
PR middle-end/77679
* gimple-fold.c (fold_array_ctor_reference): Turn asserts into
fold fails.
Added:
branches/gcc-6-branch/gcc/testsuite/c-c++-common/torture/pr77544.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr77450.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr77436.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr77514.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr77605.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/c-family/ChangeLog
branches/gcc-6-branch/gcc/c-family/c-common.c
branches/gcc-6-branch/gcc/fold-const.c
branches/gcc-6-branch/gcc/gimple-fold.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/tree-chrec.c
branches/gcc-6-branch/gcc/tree-data-ref.c
branches/gcc-6-branch/gcc/tree-ssa-pre.c