From 5535633407a3c84b4f19b9c2f88be92cb51ba8e3 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 24 Jan 2012 19:06:38 +0000 Subject: 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 --- gcc/reload1.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/reload1.c') diff --git a/gcc/reload1.c b/gcc/reload1.c index 883ddd7..f9abf72 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1111,10 +1111,7 @@ reload (rtx first, int global) if (reg_equiv_memory_loc (i)) MEM_COPY_ATTRIBUTES (reg, reg_equiv_memory_loc (i)); else - { - MEM_IN_STRUCT_P (reg) = MEM_SCALAR_P (reg) = 0; - MEM_ATTRS (reg) = 0; - } + MEM_ATTRS (reg) = 0; MEM_NOTRAP_P (reg) = 1; } else if (reg_equiv_mem (i)) -- cgit v1.1