From 266c6b40edea65bc1159fa60a229b7d8182412ff Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 11 Mar 2005 15:28:34 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 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 -- 2.7.4