(CPP_PREDEFINES): Add -D_LONGLONG.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 16 Oct 1996 18:18:57 +0000 (11:18 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 16 Oct 1996 18:18:57 +0000 (11:18 -0700)
(CPP_SPECS): Remove -D_LONGLONG.

From-SVN: r12969

gcc/config/mips/iris6.h

index ac57829d475c0794c46bb235b1fb24c93ce86db8..395f6ba4555ec4e3174d2c064f56d3f40ad362f0 100644 (file)
@@ -34,10 +34,14 @@ Boston, MA 02111-1307, USA.  */
 #undef TARGET_LONG64
 #define TARGET_LONG64          (mips_abi == ABI_64)
 
+/* We must pass -D_LONGLONG always, even when -ansi is used, because irix6
+   system header files require it.  This is OK, because gcc never warns
+   when long long is used in system header files.  Alternatively, we can
+   add support for the SGI builtin type __long_long.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES \
  "-Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 \
-  -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ \
+  -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ \
   -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi)"
 
 #undef SUBTARGET_CPP_SIZE_SPEC
@@ -57,7 +61,7 @@ Boston, MA 02111-1307, USA.  */
 /* ??? Same for __SIZE_TYPE and __PTRDIFF_TYPE.  */
 #undef SUBTARGET_CPP_SPEC
 #define SUBTARGET_CPP_SPEC "\
-%{!ansi:-D__EXTENSIONS__ -D_SGI_SOURCE -D_LONGLONG} \
+%{!ansi:-D__EXTENSIONS__ -D_SGI_SOURCE} \
 %{mfp32: -D_MIPS_FPSET=16}%{!mfp32: -D_MIPS_FPSET=32} \
 %{mips1: -D_MIPS_ISA=_MIPS_ISA_MIPS1} \
 %{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \
This page took 0.066429 seconds and 5 git commands to generate.