gcc

~vcs-imports/gcc/+git/gcc:aoliva/pr69123

Last commit made on 2016-01-11
Get this branch:
git clone -b aoliva/pr69123 https://git.launchpad.net/~vcs-imports/gcc/+git/gcc

Branch merges

Branch information

Name:
aoliva/pr69123
Repository:
lp:~vcs-imports/gcc/+git/gcc

Recent commits

18eb380... by Alexandre Oliva <email address hidden>

[PR69123] fix handling of MEMs in VTA to avoid dataflow oscillation

The problem arises because we used to drop overwritten MEMs from loc
lists of VALUEs, but not of other onepart variables, and it just so
happens that, by doing so, block 6 in the testcase has no D#5 in its
output in the first pass, because the MEM holding its (previous) value
was correctly dropped from value 88:88, but gains it in the second
pass because D#5 has the MEM location incoming directly in its loc
list, rather than indirectly in a VALUE.

This incorrect binding enables other blocks to believe they have a
tentative binding for D#5 in some cycles, but others, still operating
on the early conclusion, believe there isn't, and they oscillate from
that.

Since we check for escaping MEMs in clobbers, we won't lose anything
relevant by dropping call-clobbered or overwritten MEMs in all onepart
variables, and this ensures the loc intersection operation in onepart
vars won't let a MEM through that wasn't present in earlier
iterations.

for gcc/ChangeLog

 PR bootstrap/69123
 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
 onepart vars. Fix typo in comment. Fix reversed condition in
 unshare test.
 (dataflow_set_remove_mem_locs): Operate on all onepart vars.

for gcc/testsuite/ChangeLog

 PR bootstrap/69123
 * g++.dg/pr69123.C: New.

52714c6... by Alexandre Oliva <email address hidden>

[PR69123] make dataflow_set_different details more verbose

for gcc/ChangeLog

 PR bootstrap/69123
 * var-tracking.c (dump_onepart_variable_differences): New.
 (dataflow_set_different): If a detailed dump is requested,
 delay early returns and dump differences between onepart
 variables present before and after, and added variables.

9eb890f... by vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>

Don't allow latch with phi in try_transform_to_exit_first_loop_alt

2016-01-11 Tom de Vries <email address hidden>

 PR tree-optimization/69109
 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
 latch with phi.

 * gcc.dg/autopar/pr69109-2.c: New test.
 * gcc.dg/autopar/pr69109.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232212 138bc75d-0d04-0410-961f-82ee72b054a4

c4157ee... by vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>

Handle case that outer phi res is not used in a phi in gather_scalar_reductions

2016-01-11 Tom de Vries <email address hidden>

 PR tree-optimization/69108
 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
 res is not used in a phi.

 * gcc.dg/autopar/pr69108.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232211 138bc75d-0d04-0410-961f-82ee72b054a4

4589a80... by ygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>

Fix docs for -frandom-seed.

2016-01-11 Yury Gribov <email address hidden>

 PR 67425
 * common.opt (frandom-seed): Fix parameter name.
 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232209 138bc75d-0d04-0410-961f-82ee72b054a4

71e083d... by vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>

Don't parallelize loops if libgomp not supported

2016-01-11 Tom de Vries <email address hidden>

 PR tree-optimization/69058
 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
 not supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232208 138bc75d-0d04-0410-961f-82ee72b054a4

e9f6e99... by amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>

2016-01-11 Andrew Burgess <email address hidden>

        * config/arc/arc.opt (mdiv-rem): Add period to the end.
        (mcode-density): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232207 138bc75d-0d04-0410-961f-82ee72b054a4

5861549... by gccadmin <gccadmin@138bc75d-0d04-0410-961f-82ee72b054a4>

Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232206 138bc75d-0d04-0410-961f-82ee72b054a4

b933e51... by ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4>

Fix -Wmisleading indentation false-positive for do-while statement

gcc/c-family/ChangeLog:

 PR c++/69029
 * c-indentation.c (should_warn_for_misleading_indentation):
 Don't warn about do-while statements.

gcc/testsuite/ChangeLog:

 PR c++/69029
 * c-c++-common/Wisleading-indentation.c: Augment test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232202 138bc75d-0d04-0410-961f-82ee72b054a4

efb73de... by tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>

2016-01-10 Thomas Koenig <email address hidden>

 PR fortran/69154
 * frontend-passes.c (in_where): New variable.
 (inline_matmul_assign): Don't try this if we are within
 a WHERE statement.
 (gfc_code_walker): Keep track of in_where.

2016-01-10 Thomas Koenig <email address hidden>

 PR fortran/69154
 * gfortran.dg/inline_matmul_12.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232201 138bc75d-0d04-0410-961f-82ee72b054a4