aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-iv.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-10-24 07:26:52 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-10-24 07:26:52 +0000
commitbc2a7cebfda15f53bc8fa4b596e96a87b53193fe (patch)
tree5835f9cdd7df1edbcc8445fba0d12041daf92a71 /gcc/loop-iv.c
parentd32bc875d2297f2f2240e8aad2082be4d1f851d8 (diff)
downloadgcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.zip
gcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.tar.gz
gcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.tar.bz2
re PR middle-end/82569 (failure in 177.mesa cpu2000 test case after r253530)
PR middle-end/82569 * tree-outof-ssa.h (always_initialized_rtx_for_ssa_name_p): Delete. * expr.c (expand_expr_real_1) <expand_decl_rtl>: Revert latest change. * loop-iv.c (iv_get_reaching_def): Likewise. * cfgexpand.c (expand_one_ssa_partition): Initialize the RTX if the variable is promoted and the partition contains undefined values. From-SVN: r254037
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r--gcc/loop-iv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c
index 45e8229..1d0c66f 100644
--- a/gcc/loop-iv.c
+++ b/gcc/loop-iv.c
@@ -353,7 +353,7 @@ iv_get_reaching_def (rtx_insn *insn, rtx reg, df_ref *def)
adef = DF_REF_CHAIN (use)->ref;
/* We do not handle setting only part of the register. */
- if (DF_REF_FLAGS (adef) & (DF_REF_READ_WRITE | DF_REF_SUBREG))
+ if (DF_REF_FLAGS (adef) & DF_REF_READ_WRITE)
return GRD_INVALID;
def_insn = DF_REF_INSN (adef);