[committed] deprecate -mint64
Eric Christopher
echristo@redhat.com
Tue Feb 1 03:02:00 GMT 2005
After talking with Richard we decided to deprecate the option in 4.0.
I'll add a note to the changes part of the website after dsmith's lock
clears.
-eric
2005-02-01 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (override_options): Warn if -mint64
is used.
* doc/invoke.texi (MIPS Options): Document that -mint64 is
deprecated.
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.570
diff -u -p -w -r1.570 invoke.texi
--- doc/invoke.texi 26 Jan 2005 20:36:05 -0000 1.570
+++ doc/invoke.texi 1 Feb 2005 02:59:33 -0000
@@ -9590,6 +9590,8 @@ Force @code{int} and @code{long} types t
@option{-mlong32} for an explanation of the default and the way
that the pointer size is determined.
+This option has been deprecated and will be removed in a future
release.
+
@item -mlong64
@opindex mlong64
Force @code{long} types to be 64 bits wide. See @option{-mlong32} for
Index: config/mips/mips.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.c,v
retrieving revision 1.483
diff -u -p -w -r1.483 mips.c
--- config/mips/mips.c 30 Dec 2004 03:07:56 -0000 1.483
+++ config/mips/mips.c 1 Feb 2005 02:59:35 -0000
@@ -4131,6 +4131,10 @@ override_options (void)
target_flags &= ~MASK_LONG64;
}
+ /* Deprecate -mint64. Remove after 4.0 branches. */
+ if ((target_flags_explicit & MASK_INT64) != 0)
+ warning ("-mint64 is a deprecated option");
+
if (MIPS_MARCH_CONTROLS_SOFT_FLOAT
&& (target_flags_explicit & MASK_SOFT_FLOAT) == 0)
{
More information about the Gcc-patches
mailing list