aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-propagate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-propagate.cc')
-rw-r--r--gcc/tree-ssa-propagate.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/tree-ssa-propagate.cc b/gcc/tree-ssa-propagate.cc
index 872f881..f02b10d 100644
--- a/gcc/tree-ssa-propagate.cc
+++ b/gcc/tree-ssa-propagate.cc
@@ -578,10 +578,6 @@ substitute_and_fold_engine::replace_uses_in (gimple *stmt)
if (val == tuse || val == NULL_TREE)
continue;
- if (gimple_code (stmt) == GIMPLE_ASM
- && !may_propagate_copy_into_asm (tuse))
- continue;
-
if (!may_propagate_copy (tuse, val))
continue;
@@ -1142,15 +1138,6 @@ may_propagate_copy_into_stmt (gimple *dest, tree orig)
return true;
}
-/* Similarly, but we know that we're propagating into an ASM_EXPR. */
-
-bool
-may_propagate_copy_into_asm (tree dest ATTRIBUTE_UNUSED)
-{
- return true;
-}
-
-
/* Replace *OP_P with value VAL (assumed to be a constant or another SSA_NAME).
Use this version when not const/copy propagating values. For example,