From: rsandifo Date: Fri, 11 Mar 2005 15:28:34 +0000 (+0000) Subject: * config/mips/mips.c (override_options): Only warn about -mint64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a945180def7c07584ef67d8198dd5db90cdc0aa;p=thirdparty%2Fgcc.git * config/mips/mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96299 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6a28cd0f237..d58f9933f6a4 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 acd6ae0a704f..87574970c52c 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