aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-03-11 15:28:34 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-03-11 15:28:34 +0000
commit266c6b40edea65bc1159fa60a229b7d8182412ff (patch)
tree109835c0a1da9c87e8787c576b051104da0e7c51 /gcc
parent74124c73c138593b94fa0af9af1d7c1b059d0cdf (diff)
downloadgcc-266c6b40edea65bc1159fa60a229b7d8182412ff.zip
gcc-266c6b40edea65bc1159fa60a229b7d8182412ff.tar.gz
gcc-266c6b40edea65bc1159fa60a229b7d8182412ff.tar.bz2
mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64.
* config/mips/mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64. From-SVN: r96299
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6a28cd..d58f993 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-11 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/mips.c (override_options): Only warn about -mint64
+ deprecation if TARGET_INT64.
+
2005-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtin-attrs.def (ATTR_NONNULL_LIST, ATTR_NOTHROW_NONNULL,
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index acd6ae0..8757497 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4132,7 +4132,7 @@ override_options (void)
}
/* Deprecate -mint64. Remove after 4.0 branches. */
- if ((target_flags_explicit & MASK_INT64) != 0)
+ if (TARGET_INT64)
warning ("-mint64 is a deprecated option");
if (MIPS_MARCH_CONTROLS_SOFT_FLOAT