summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-21 12:20:42 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-21 12:20:42 +0000
commita849aec42c06c8c42867417b3156b915d4fa3348 (patch)
treeb5e88c36aad5d073f1f4122ef77cf5ec89a4b2a3 /gcc/tree-ssa-coalesce.c
parentc37594c757973ce9795ec38682401efa4bf4affe (diff)
downloadgcc-a849aec42c06c8c42867417b3156b915d4fa3348.tar.gz
PR tree-optimization/31866
* tree-ssa-coalesce.c (create_outofssa_var_map): Do nothing if ASM_EXPR's input is not a SSA_NAME. * gcc.dg/pr31866.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r--gcc/tree-ssa-coalesce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 04f97cf1462..1c82c8d0b91 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -1,5 +1,5 @@
/* Coalesce SSA_NAMES together for the out-of-ssa pass.
- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
Contributed by Andrew MacLeod <amacleod@redhat.com>
This file is part of GCC.
@@ -1037,7 +1037,7 @@ create_outofssa_var_map (coalesce_list_p cl, bitmap used_in_copy)
char *end;
unsigned long match;
- if (TREE_CODE (input) != SSA_NAME && !DECL_P (input))
+ if (TREE_CODE (input) != SSA_NAME)
continue;
match = strtoul (constraint, &end, 10);