diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-04 17:56:55 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-04 17:56:55 +0000 |
commit | da9055d29af60e521b94ef9d06e5e99f4e79e6a9 (patch) | |
tree | 5f6e71850acc8fc72a303b3e8977d8f2ef788bc4 /gcc/gimplify.c | |
parent | b4df425bacd370bd1700ca7ba7e6fe4f830b5eb8 (diff) | |
download | gcc-da9055d29af60e521b94ef9d06e5e99f4e79e6a9.tar.gz |
2008-12-04 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r142432
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@142441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 20003137554..09f130ecc7e 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -656,13 +656,8 @@ static bool is_gimple_mem_or_call_rhs (tree t) { /* If we're dealing with a renamable type, either source or dest must be - a renamed variable. Also force a temporary if the type doesn't need - to be stored in memory, since it's cheap and prevents erroneous - tailcalls (PR 17526). */ - if (is_gimple_reg_type (TREE_TYPE (t)) - || (TYPE_MODE (TREE_TYPE (t)) != BLKmode - && (TREE_CODE (t) != CALL_EXPR - || ! aggregate_value_p (t, t)))) + a renamed variable. */ + if (is_gimple_reg_type (TREE_TYPE (t))) return is_gimple_val (t); else return is_gimple_formal_tmp_or_call_rhs (t); |