OSDN Git Service

Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)
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, ...).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19353 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/objc/sendmsg.c

index 49770dd..77bee69 100644 (file)
@@ -1,3 +1,8 @@
+Tue Apr 21 09:43:55 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 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  <rth@cygnus.com>
 
        * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
index cf8e47a..f0d3957 100644 (file)
@@ -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