diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-26 14:53:25 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-26 14:53:25 +0000 |
commit | 9e1b949cce0f9ef70dcd4afbe5868e0d95df1281 (patch) | |
tree | 137b86fc61b9e2f6e640c75c064cffb9b909e79a /gcc/function.c | |
parent | 9b040c42465165aa265b581d597878f799c29ad0 (diff) | |
download | gcc-9e1b949cce0f9ef70dcd4afbe5868e0d95df1281.tar.gz |
2012-01-26 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 183561 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c index 94e51f401c3..4508ae22de4 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -939,14 +939,7 @@ assign_stack_temp_for_type (enum machine_mode mode, HOST_WIDE_INT size, /* If a type is specified, set the relevant flags. */ if (type != 0) - { - MEM_VOLATILE_P (slot) = TYPE_VOLATILE (type); - gcc_checking_assert (!MEM_SCALAR_P (slot) && !MEM_IN_STRUCT_P (slot)); - if (AGGREGATE_TYPE_P (type) || TREE_CODE (type) == COMPLEX_TYPE) - MEM_IN_STRUCT_P (slot) = 1; - else - MEM_SCALAR_P (slot) = 1; - } + MEM_VOLATILE_P (slot) = TYPE_VOLATILE (type); MEM_NOTRAP_P (slot) = 1; return slot; |