aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-08-07 14:16:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-08-07 14:16:11 +0000
commit01c59d23df7eef24a9e5a695baef59bd233ce115 (patch)
tree39a6a8bb8b9c76f26ebb0675ce99e03139c76b3f /gcc/tree-ssa-copy.c
parent5f33a4fc3ebcee4a661ed760d037ecfdbb00cfc5 (diff)
downloadgcc-01c59d23df7eef24a9e5a695baef59bd233ce115.zip
gcc-01c59d23df7eef24a9e5a695baef59bd233ce115.tar.gz
gcc-01c59d23df7eef24a9e5a695baef59bd233ce115.tar.bz2
tree-dfa.c (set_ssa_default_def): Clear the SSA_NAME_DEFAULT_DEF bit of the old name when we clear the slot.
2012-08-07 Richard Guenther <rguenther@suse.de> * tree-dfa.c (set_ssa_default_def): Clear the SSA_NAME_DEFAULT_DEF bit of the old name when we clear the slot. * tree-ssa-live.c (remove_unused_locals): Release any default def associated with an unused var. * tree-ssa-copy.c (may_propagate_copy_into_asm): Always return true. From-SVN: r190201
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;
}