tree-outof-ssa.h (ssaexpand): Add partitions_for_undefined_values.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 8 Oct 2017 21:13:52 +0000 (21:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 8 Oct 2017 21:13:52 +0000 (21:13 +0000)
commit561593c104a3fcce354d644b12072b1da8690baa
tree149b1fac42bf695760c221ab62b82c4d671b93af
parentcaeaa0b3c63bc2634f7ae8f684224b2773c782c1
tree-outof-ssa.h (ssaexpand): Add partitions_for_undefined_values.

* tree-outof-ssa.h (ssaexpand): Add partitions_for_undefined_values.
(always_initialized_rtx_for_ssa_name_p): New predicate.
* tree-outof-ssa.c (remove_ssa_form): Initialize new field of SA.
(finish_out_of_ssa): Free new field of SA.
* tree-ssa-coalesce.h (get_undefined_value_partitions): Declare.
* tree-ssa-coalesce.c: Include tree-ssa.h.
(get_parm_default_def_partitions): Remove extern keyword.
(get_undefined_value_partitions): New function.
* expr.c (expand_expr_real_1) <expand_decl_rtl>: For a SSA_NAME, do
not set SUBREG_PROMOTED_VAR_P on the sub-register if it may contain
uninitialized bits.
* loop-iv.c (iv_get_reaching_def): Disqualify all subregs.

From-SVN: r253530
gcc/ChangeLog
gcc/expr.c
gcc/loop-iv.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20171008-1.c [new file with mode: 0644]
gcc/tree-outof-ssa.c
gcc/tree-outof-ssa.h
gcc/tree-ssa-coalesce.c
gcc/tree-ssa-coalesce.h