mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64.
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 11 Mar 2005 15:28:34 +0000 (15:28 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 11 Mar 2005 15:28:34 +0000 (15:28 +0000)
* config/mips/mips.c (override_options): Only warn about -mint64
deprecation if TARGET_INT64.

From-SVN: r96299

gcc/ChangeLog
gcc/config/mips/mips.c

index f6a28cd0f237db42b7ff0d7ca09228b51a278abf..d58f9933f6a4e69df1b7c9caff70d60a921fc8ab 100644 (file)
@@ -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,
index acd6ae0a704f270768071d2884d118223825f050..87574970c52c82fe3704e3d3b6b83d96d1a95f0f 100644 (file)
@@ -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