diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2005-05-07 09:48:29 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-05-07 09:48:29 +0000 |
commit | 62d9f2e92b441bc65b080a1288a241d112289920 (patch) | |
tree | 8bacd2f915c89d271d9c7d320f2a8863f3ef40e8 /gcc | |
parent | 6e1141d738f16417f55f88fdd087a50c71fdf1ae (diff) | |
download | gcc-62d9f2e92b441bc65b080a1288a241d112289920.zip gcc-62d9f2e92b441bc65b080a1288a241d112289920.tar.gz gcc-62d9f2e92b441bc65b080a1288a241d112289920.tar.bz2 |
invoke.texi: Remove documentation for MIPS' -mint64 option.
* 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.
cp/
* mangle.c: Remove a reference to the MIPS -mint64 option.
From-SVN: r99348
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 42 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/mangle.c | 9 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 8 |
5 files changed, 15 insertions, 54 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b2d4c3..168c48e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index afc69ea..d8b39c3 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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) { diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index faecf3f..c16efa3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 0d7f1e2..a2fefd0 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -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 */ diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 632b4bb..ab95b4d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |