summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-02-21 21:16:03 +0100
committerKevin Ryde <user42@zip.com.au>2002-02-21 21:16:03 +0100
commit8a31ab408f50a0e665fdea5779159835e3ddd787 (patch)
tree88fbaf9d3044a98e6d90e8da1170ca55e1a08343 /tune
parentc1649fa45a94d29e6cd978497146520f99faf761 (diff)
downloadgmp-8a31ab408f50a0e665fdea5779159835e3ddd787.tar.gz
* tune/tuneup.c: Don't confuse gcc with mipspro cc in diagnostic.
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c
index 97db79621..2fe06d577 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -1523,7 +1523,8 @@ all (void)
printf ("Sun C %d.%d */\n", __SUNPRO_C / 0x100, __SUNPRO_C % 0x100);
#define PRINTED_COMPILER
#endif
-#if defined (__sgi) && defined (_COMPILER_VERSION)
+#if ! defined (__GNUC__) && defined (__sgi) && defined (_COMPILER_VERSION)
+ /* gcc defines __sgi and _COMPILER_VERSION on irix 6, avoid that */
printf ("MIPSpro C %d.%d.%d */\n",
_COMPILER_VERSION / 100,
_COMPILER_VERSION / 10 % 10,