Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)
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
gcc/objc/sendmsg.c

index 49770dda66a4fb3842e3693fa25190d0b49d8c27..77bee69f633d9d835fd73b4cc4a54b1607f08724 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 cf8e47aabafd34ee57bc2861ac4baee732189b48..f0d3957f3d883bc321b88a6de7e258bdd4ce5dfb 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