From 5a162b7ae6b7d344af6a033e922bc5e0e77eb6aa Mon Sep 17 00:00:00 2001 From: bstarynk Date: Wed, 6 Oct 2010 08:59:14 +0000 Subject: 2010-10-06 Basile Starynkevitch MELT branch merged with trunk rev 165014 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@165017 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gimple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/gimple.c') diff --git a/gcc/gimple.c b/gcc/gimple.c index fa8acd08e94..54e68571c7a 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -3013,7 +3013,8 @@ get_base_address (tree t) && TREE_CODE (TREE_OPERAND (t, 0)) == ADDR_EXPR) t = TREE_OPERAND (TREE_OPERAND (t, 0), 0); - if (SSA_VAR_P (t) + if (TREE_CODE (t) == SSA_NAME + || DECL_P (t) || TREE_CODE (t) == STRING_CST || TREE_CODE (t) == CONSTRUCTOR || INDIRECT_REF_P (t) -- cgit v1.2.1