This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] remove -mint64 option for mips


We deprecated this in 4.0 and since we've released that we can remove it
in mainline. Tested by building mipsisa64-elf and making sure that cc1 -
mint64 fails.

-eric


2005-05-06  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.opt: Remove -mint64 option.
	* config/mips/mips.c (override_options): Remove -mint64
	handling.
	* config/mips/mips.h (INT_TYPE_SIZE): Define to 32.
	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove
	64-bit integer handling.
	* doc/invoke.texi (Option Summary): Remove -mint64 for
	mips.

Index: config/mips/linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/linux.h,v
retrieving revision 1.83
diff -u -p -w -r1.83 linux.h
--- config/mips/linux.h	26 Jan 2005 02:04:46 -0000	1.83
+++ config/mips/linux.h	6 May 2005 23:27:24 -0000
@@ -91,9 +91,6 @@ Boston, MA 02111-1307, USA.  */
      else							\
         builtin_define ("_MIPS_FPSET=16");			\
 								\
-     if (TARGET_INT64)						\
-        builtin_define ("_MIPS_SZINT=64");			\
-     else							\
         builtin_define ("_MIPS_SZINT=32");			\
 } while (0)
 
Index: config/mips/mips.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.c,v
retrieving revision 1.498
diff -u -p -w -r1.498 mips.c
--- config/mips/mips.c	26 Apr 2005 17:55:23 -0000	1.498
+++ config/mips/mips.c	6 May 2005 23:27:26 -0000
@@ -4336,25 +4336,12 @@ override_options (void)
 
   if ((target_flags_explicit & MASK_LONG64) == 0)
     {
-      if (TARGET_INT64)
-	target_flags |= MASK_LONG64;
-      /* If no type size setting options (-mlong64,-mint64,-mlong32)
-	 were used, then set the type sizes.  In the EABI in 64 bit mode,
-	 longs and pointers are 64 bits.  Likewise for the SGI Irix6 N64
-	 ABI.  */
-      else if ((mips_abi == ABI_EABI && TARGET_64BIT) || mips_abi ==
ABI_64)
+      if ((mips_abi == ABI_EABI && TARGET_64BIT) || mips_abi == ABI_64)
 	target_flags |= MASK_LONG64;
       else
 	target_flags &= ~MASK_LONG64;
     }
 
-  /* Deprecate -mint64. Remove after 4.0 branches.  */
-  if (TARGET_INT64)
-    warning (0, "-mint64 is a deprecated option");
-
-  if (TARGET_INT64 && !TARGET_LONG64)
-    error ("unsupported combination: %s", "-mint64 -mlong32");
-
   if (MIPS_MARCH_CONTROLS_SOFT_FLOAT
       && (target_flags_explicit & MASK_SOFT_FLOAT) == 0)
     {
Index: config/mips/mips.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.h,v
retrieving revision 1.390
diff -u -p -w -r1.390 mips.h
--- config/mips/mips.h	27 Apr 2005 09:11:58 -0000	1.390
+++ config/mips/mips.h	6 May 2005 23:27:26 -0000
@@ -970,7 +970,7 @@ extern const struct mips_cpu_info *mips_
 
 /* Set the sizes of the core types.  */
 #define SHORT_TYPE_SIZE 16
-#define INT_TYPE_SIZE (TARGET_INT64 ? 64 : 32)
+#define INT_TYPE_SIZE 32
 #define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32)
 #define LONG_LONG_TYPE_SIZE 64
 
Index: config/mips/mips.opt
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.opt,v
retrieving revision 1.3
diff -u -p -w -r1.3 mips.opt
--- config/mips/mips.opt	17 Mar 2005 15:59:09 -0000	1.3
+++ config/mips/mips.opt	6 May 2005 23:27:26 -0000
@@ -133,10 +133,6 @@ mhard-float
 Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
 Allow the use of hardware floating-point instructions
 
-mint64
-Target Report RejectNegative Mask(INT64)
-Use a 64-bit int type
-
 mips
 Target RejectNegative Joined
 -mipsN	Generate code for ISA level N
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.613
diff -u -p -w -r1.613 invoke.texi
--- doc/invoke.texi	5 May 2005 20:54:16 -0000	1.613
+++ doc/invoke.texi	6 May 2005 23:27:29 -0000
@@ -560,7 +560,7 @@ Objective-C and Objective-C++ Dialects}.
 -mxgot  -mno-xgot  -mgp32  -mgp64  -mfp32  -mfp64 @gol
 -mhard-float  -msoft-float  -msingle-float  -mdouble-float @gol
 -mpaired-single  -mips3d @gol
--mint64  -mlong64  -mlong32  -msym32  -mno-sym32 @gol
+-mlong64  -mlong32  -msym32  -mno-sym32 @gol
 -G@var{num}  -membedded-data  -mno-embedded-data @gol
 -muninit-const-in-rodata  -mno-uninit-const-in-rodata @gol
 -msplit-addresses  -mno-split-addresses  @gol



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]