OSDN Git Service

* doc/invoke.texi: Remove documentation for MIPS' -mint64 option.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 May 2005 09:48:29 +0000 (09:48 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 May 2005 09:48:29 +0000 (09:48 +0000)
* config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete.
(mips_scalar_mode_supported_p): Delete.

cp/
* mangle.c: Remove a reference to the MIPS -mint64 option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99348 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/doc/invoke.texi

index 7b2d4c3..168c48e 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/invoke.texi: Remove documentation for MIPS' -mint64 option.
+       * config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete.
+       (mips_scalar_mode_supported_p): Delete.
+
 2005-05-06  Eric Christopher  <echristo@redhat.com>
 
        * config/mips/mips.opt: Remove -mint64 option.
index afc69ea..d8b39c3 100644 (file)
@@ -357,7 +357,6 @@ static bool mips_callee_copies (CUMULATIVE_ARGS *, enum machine_mode mode,
 static int mips_arg_partial_bytes (CUMULATIVE_ARGS *, enum machine_mode mode,
                                   tree, bool);
 static bool mips_valid_pointer_mode (enum machine_mode);
-static bool mips_scalar_mode_supported_p (enum machine_mode);
 static bool mips_vector_mode_supported_p (enum machine_mode);
 static rtx mips_prepare_builtin_arg (enum insn_code, unsigned int, tree *);
 static rtx mips_prepare_builtin_target (enum insn_code, unsigned int, rtx);
@@ -820,9 +819,6 @@ const struct mips_cpu_info mips_cpu_info_table[] = {
 #undef TARGET_VECTOR_MODE_SUPPORTED_P
 #define TARGET_VECTOR_MODE_SUPPORTED_P mips_vector_mode_supported_p
 
-#undef TARGET_SCALAR_MODE_SUPPORTED_P
-#define TARGET_SCALAR_MODE_SUPPORTED_P mips_scalar_mode_supported_p
-
 #undef TARGET_INIT_BUILTINS
 #define TARGET_INIT_BUILTINS mips_init_builtins
 #undef TARGET_EXPAND_BUILTIN
@@ -7285,44 +7281,8 @@ mips_valid_pointer_mode (enum machine_mode mode)
   return (mode == SImode || (TARGET_64BIT && mode == DImode));
 }
 
-/* Define this so that we can deal with a testcase like:
-
-   char foo __attribute__ ((mode (SI)));
-
-   then compiled with -mabi=64 and -mint64. We have no
-   32-bit type at that point and so the default case
-   always fails.  */
-
-static bool
-mips_scalar_mode_supported_p (enum machine_mode mode)
-{
-  switch (mode)
-    {
-    case QImode:
-    case HImode:
-    case SImode:
-    case DImode:
-      return true;
-
-      /* Handled via optabs.c.  */
-    case TImode:
-      return TARGET_64BIT;
-
-    case SFmode:
-    case DFmode:
-      return true;
-
-      /* LONG_DOUBLE_TYPE_SIZE is 128 for TARGET_NEWABI only.  */
-    case TFmode:
-      return TARGET_NEWABI;
-
-    default:
-      return false;
-    }
-}
-
-
 /* Target hook for vector_mode_supported_p.  */
+
 static bool
 mips_vector_mode_supported_p (enum machine_mode mode)
 {
index faecf3f..c16efa3 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * mangle.c: Remove a reference to the MIPS -mint64 option.
+
 2005-05-07  Kazu Hirata  <kazu@cs.umass.edu>
 
        * decl.c (wrapup_globals_for_namespace): Use VEC instead of
index 0d7f1e2..a2fefd0 100644 (file)
@@ -1773,11 +1773,10 @@ write_builtin_type (tree type)
                     type" with a name the form intN or uintN, respectively.
                     Situations like this can happen if you have an
                     __attribute__((__mode__(__SI__))) type and use exotic
-                    switches like '-mint64' on MIPS or '-mint8' on AVR.
-                    Of course, this is undefined by the C++ ABI (and
-                    '-mint8' is not even Standard C conforming), but when
-                    using such special options you're pretty much in nowhere
-                    land anyway.  */
+                    switches like '-mint8' on AVR.  Of course, this is
+                    undefined by the C++ ABI (and '-mint8' is not even
+                    Standard C conforming), but when using such special
+                    options you're pretty much in nowhere land anyway.  */
                  const char *prefix;
                  char prec[11];        /* up to ten digits for an unsigned */
 
index 632b4bb..ab95b4d 100644 (file)
@@ -9857,14 +9857,6 @@ support to be enabled.
 Use (do not use) the MIPS-3D ASE@.  @xref{MIPS-3D Built-in Functions}.
 The option @option{-mips3d} implies @option{-mpaired-single}.
 
-@item -mint64
-@opindex mint64
-Force @code{int} and @code{long} types to be 64 bits wide.  See
-@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