From d2f5ef7012f3bb5a0b403a1530d389c3355fb004 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 21 Apr 1998 06:50:07 +0000 Subject: [PATCH] Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to... Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in sendmsg.c. * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done for gen_rtx(MEM, ...). From-SVN: r19353 --- gcc/ChangeLog | 5 +++++ gcc/objc/sendmsg.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49770dda66a..77bee69f633 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi + + * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done + for gen_rtx(MEM, ...). + Tue Apr 21 02:15:36 1998 Richard Henderson * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite diff --git a/gcc/objc/sendmsg.c b/gcc/objc/sendmsg.c index cf8e47aabaf..f0d3957f3d8 100644 --- a/gcc/objc/sendmsg.c +++ b/gcc/objc/sendmsg.c @@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */ /* this is how we hack STRUCT_VALUE to be 1 or 0 */ #define gen_rtx(args...) 1 +#define gen_rtx_MEM(args...) 1 #define rtx int #if !defined(STRUCT_VALUE) || STRUCT_VALUE == 0