aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ter.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-04-16 10:50:58 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-04-16 10:50:58 +0000
commit61c7fb308a746e03d3ae8ba54234a8e18b2479da (patch)
tree0bef9cf3d4562a596b955f1762e194e90daca6b5 /gcc/tree-ssa-ter.c
parent42fae17c3741000efa1124cd0af0665ff6141f05 (diff)
downloadgcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.zip
gcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.tar.gz
gcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.tar.bz2
tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
* tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P. (append_use): Run at -O0. (append_vdef): Likewise. * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0. * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment. From-SVN: r209443
Diffstat (limited to 'gcc/tree-ssa-ter.c')
-rw-r--r--gcc/tree-ssa-ter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c
index 09dc313..78bedfc 100644
--- a/gcc/tree-ssa-ter.c
+++ b/gcc/tree-ssa-ter.c
@@ -441,11 +441,6 @@ ter_is_replaceable_p (gimple stmt)
|| (block1 != NULL_TREE && block1 != block2)))
return false;
- /* Without alias info we can't move around loads. */
- if (!optimize && gimple_assign_single_p (stmt)
- && !is_gimple_val (gimple_assign_rhs1 (stmt)))
- return false;
-
return true;
}
return false;