aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-03-09 21:49:00 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-03-09 21:49:00 +0100
commitdb7ec03597533caa93e7eb3688de61c0d6e2bc77 (patch)
treef2e41a1f3f62ddafe04756aa6068b27b92c97866 /gcc/rtl.h
parent0ad313411053e359863e5ec1a5e426254b67de8f (diff)
downloadgcc-db7ec03597533caa93e7eb3688de61c0d6e2bc77.zip
gcc-db7ec03597533caa93e7eb3688de61c0d6e2bc77.tar.gz
gcc-db7ec03597533caa93e7eb3688de61c0d6e2bc77.tar.bz2
re PR rtl-optimization/47866 (gcc.dg/torture/vector-2.c fails on IA64)
PR rtl-optimization/47866 * expr.c (store_field): If MEM_SCALAR_P (target), don't use MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) if target wasn't scalar. * function.c (assign_stack_temp_for_type): Assert that neither MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P macro. * rtl.h (MEM_SET_IN_STRUCT_P): Removed. From-SVN: r170834
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 0552156..66f2755 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1279,24 +1279,6 @@ do { \
#define MEM_NOTRAP_P(RTX) \
(RTL_FLAG_CHECK1("MEM_NOTRAP_P", (RTX), MEM)->call)
-/* If VAL is nonzero, set MEM_IN_STRUCT_P and clear MEM_SCALAR_P in
- RTX. Otherwise, vice versa. Use this macro only when you are
- *sure* that you know that the MEM is in a structure, or is a
- scalar. VAL is evaluated only once. */
-#define MEM_SET_IN_STRUCT_P(RTX, VAL) \
-do { \
- if (VAL) \
- { \
- MEM_IN_STRUCT_P (RTX) = 1; \
- MEM_SCALAR_P (RTX) = 0; \
- } \
- else \
- { \
- MEM_IN_STRUCT_P (RTX) = 0; \
- MEM_SCALAR_P (RTX) = 1; \
- } \
-} while (0)
-
/* The memory attribute block. We provide access macros for each value
in the block and provide defaults if none specified. */
#define MEM_ATTRS(RTX) X0MEMATTR (RTX, 1)