OSDN Git Service

* config/mips/mips.c (override_options): Only warn about -mint64
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Mar 2005 15:28:34 +0000 (15:28 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Mar 2005 15:28:34 +0000 (15:28 +0000)
deprecation if TARGET_INT64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96299 138bc75d-0d04-0410-961f-82ee72b054a4

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

index f6a28cd..d58f993 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 acd6ae0..8757497 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