aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r--gcc/tree-ssa-copy.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 7686dda..c5fe156 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -137,12 +137,9 @@ may_propagate_copy_into_stmt (gimple dest, tree orig)
/* Similarly, but we know that we're propagating into an ASM_EXPR. */
bool
-may_propagate_copy_into_asm (tree dest)
+may_propagate_copy_into_asm (tree dest ATTRIBUTE_UNUSED)
{
- /* Hard register operands of asms are special. Do not bypass. */
- return !(TREE_CODE (dest) == SSA_NAME
- && TREE_CODE (SSA_NAME_VAR (dest)) == VAR_DECL
- && DECL_HARD_REGISTER (SSA_NAME_VAR (dest)));
+ return true;
}