2017-05-10 Richard Biener <rguenther@suse.de>
commit4d32cb520de2678f0e23e5c793a77fc4202d6e17
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 07:44:41 +0000 (10 07:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 07:44:41 +0000 (10 07:44 +0000)
treec4e0c324b47ad6738d9fc9430ddaf0e4b2657387
parent0e990162fcd0d4e4b02ba9004c78983611ce466c
2017-05-10  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-03-17  Richard Biener  <rguenther@suse.de>

PR middle-end/80075
* tree-eh.c (stmt_could_throw_1_p): Only handle gimple assigns.
Properly verify the LHS before the RHS possibly claims to be
handled.
(stmt_could_throw_p): Hande gimple conds fully here.  Clobbers
do not throw.

* g++.dg/torture/pr80075.C: New testcase.

2017-03-21  Brad Spengler <spender@grsecurity.net>

PR plugin/80094
* plugin.c (htab_hash_plugin): New function.
(add_new_plugin): Use it and adjust.
(parse_plugin_arg_opt): Adjust.
(init_one_plugin): Likewise.

2017-03-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80113
* graphite-isl-ast-to-gimple.c (copy_loop_phi_nodes): Do not
allocate extra SSA name for PHI def.
(add_close_phis_to_outer_loops): Likewise.
(add_close_phis_to_merge_points): Likewise.
(copy_loop_close_phi_args): Likewise.
(copy_cond_phi_nodes): Likewise.

2017-03-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80122
* tree-inline.c (copy_bb): Do not expans va-arg packs or
va_arg_pack_len when the inlined call stmt requires pack
expansion itself.
* tree-inline.h (struct copy_body_data): Make call_stmt a gcall *.

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

2017-03-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80167
* graphite-isl-ast-to-gimple.c
(translate_isl_ast_to_gimple::is_valid_rename): Handle default-defs
properly.
(translate_isl_ast_to_gimple::get_rename): Likewise.

* gcc.dg/graphite/pr80167.c: New testcase.

2017-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80170
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Make
sure DR/SCEV didnt fold in constants we do not see when looking
at the reference base alignment.

2017-03-27  Richard Biener  <rguenther@suse.de>

PR middle-end/80171
* gimple-fold.c (fold_ctor_reference): Properly guard against
NULL return value from canonicalize_constructor_val.

* g++.dg/torture/pr80171.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@247826 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/ChangeLog
gcc/gimple-fold.c
gcc/graphite-isl-ast-to-gimple.c
gcc/plugin.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr80075.C [new file with mode: 0644]
gcc/testsuite/g++.dg/torture/pr80171.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/graphite/pr80167.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr80122.c [new file with mode: 0644]
gcc/tree-eh.c
gcc/tree-inline.c
gcc/tree-inline.h
gcc/tree-vect-data-refs.c