diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-24 19:06:38 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-01-24 19:06:38 +0000 |
commit | 5535633407a3c84b4f19b9c2f88be92cb51ba8e3 (patch) | |
tree | 0437cd6825d81c4a05099372f1111220a0a2e1ba /gcc/function.c | |
parent | 53d9622bda42facc4e456033b7a86e7bf102826a (diff) | |
download | gcc-5535633407a3c84b4f19b9c2f88be92cb51ba8e3.zip gcc-5535633407a3c84b4f19b9c2f88be92cb51ba8e3.tar.gz gcc-5535633407a3c84b4f19b9c2f88be92cb51ba8e3.tar.bz2 |
rtl.texi (MEM_IN_STRUCT_P, [...]): Delete.
gcc/
* doc/rtl.texi (MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete.
(in_struct, return_val): Remove MEM documentation.
* rtl.h (rtx_def): Remove MEM meanings from in_struct and return_val.
(MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete.
(MEM_COPY_ATTRIBUTES): Remove references to MEM_IN_STRUCT_P
and MEM_SCALAR.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* cfgexpand.c (add_alias_set_conflicts): Likewise.
* expr.c (store_field): Likewise.
* function.c (assign_stack_temp_for_type): Likewise.
* ifcvt.c (noce_try_cmove_arith): Likewise.
* reload1.c (reload): Likewise.
* config/alpha/alpha.c (alpha_set_memflags_1): Likewise.
(alpha_set_memflags): Likewise.
* config/m32c/m32c.c (m32c_immd_dbl_mov): Nullify.
gcc/testsuite/
* gcc.dg/memcpy-4.c: Don't expect /s on MEMs.
From-SVN: r183486
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 94e51f4..4508ae2 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; |