diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-06 08:59:14 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-06 08:59:14 +0000 |
commit | 5a162b7ae6b7d344af6a033e922bc5e0e77eb6aa (patch) | |
tree | 56aca246b6ab6aeda938b1018391b7f1c5d7df72 /gcc/gimple.c | |
parent | f68b5712b23021c39d8c91b2c98130266b9504a3 (diff) | |
download | gcc-5a162b7ae6b7d344af6a033e922bc5e0e77eb6aa.tar.gz |
2010-10-06 Basile Starynkevitch <basile@starynkevitch.net>
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
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |