From: Richard Sandiford Date: Fri, 11 Mar 2005 15:28:34 +0000 (+0000) Subject: mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=266c6b40edea65bc1159fa60a229b7d8182412ff;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6a28cd0f23..d58f9933f6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-11 Richard Sandiford + + * config/mips/mips.c (override_options): Only warn about -mint64 + deprecation if TARGET_INT64. + 2005-03-11 Kaveh R. Ghazi * builtin-attrs.def (ATTR_NONNULL_LIST, ATTR_NOTHROW_NONNULL, diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index acd6ae0a704..87574970c52 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