diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-02 22:25:34 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-02 22:25:34 +0000 |
commit | 67fd3bab3b5718d677f97e7509c03bb212e98a5a (patch) | |
tree | 8551f216614d5c68341ccb64442f4079f5c437f8 /gnu | |
parent | 89d0d1089c88f9a3e60ed27d55d4702f125f3c58 (diff) |
More dead features recycling: -mwarn-passed-struct doesn't do anything, and
-m{no-,}optimize-arg-area doesn't do anything either since the arg area has
been removed in gcc 2.95.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/m88k/m88k.h | 7 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/doc/invoke.texi | 37 |
2 files changed, 8 insertions, 36 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/m88k/m88k.h b/gnu/usr.bin/gcc/gcc/config/m88k/m88k.h index 2df19f0b144..9e8b56b56bf 100644 --- a/gnu/usr.bin/gcc/gcc/config/m88k/m88k.h +++ b/gnu/usr.bin/gcc/gcc/config/m88k/m88k.h @@ -163,8 +163,6 @@ extern int flag_pic; /* -fpic */ #define MASK_HANDLE_LARGE_SHIFT 0x00000200 /* Handle shift count >= 32 */ #define MASK_CHECK_ZERO_DIV 0x00000400 /* Check for int div. by 0 */ #define MASK_USE_DIV 0x00000800 /* No signed div. checks */ -#define MASK_WARN_PASS_STRUCT 0x00002000 /* Warn about passed structs */ -#define MASK_OPTIMIZE_ARG_AREA 0x00004000 /* Save stack space */ #define MASK_NO_SERIALIZE_VOLATILE 0x00008000 /* Serialize volatile refs */ #define MASK_MEMCPY 0x00010000 /* Always use memcpy for movstr */ #define MASK_EITHER_LARGE_SHIFT (MASK_TRAP_LARGE_SHIFT | \ @@ -185,8 +183,6 @@ extern int flag_pic; /* -fpic */ #define TARGET_HANDLE_LARGE_SHIFT (target_flags & MASK_HANDLE_LARGE_SHIFT) #define TARGET_CHECK_ZERO_DIV (target_flags & MASK_CHECK_ZERO_DIV) #define TARGET_USE_DIV (target_flags & MASK_USE_DIV) -#define TARGET_WARN_PASS_STRUCT (target_flags & MASK_WARN_PASS_STRUCT) -#define TARGET_OPTIMIZE_ARG_AREA (target_flags & MASK_OPTIMIZE_ARG_AREA) #define TARGET_SERIALIZE_VOLATILE (!(target_flags & MASK_NO_SERIALIZE_VOLATILE)) #define TARGET_MEMCPY (target_flags & MASK_MEMCPY) @@ -214,9 +210,6 @@ extern int flag_pic; /* -fpic */ { "check-zero-division", MASK_CHECK_ZERO_DIV }, \ { "no-check-zero-division", -MASK_CHECK_ZERO_DIV }, \ { "use-div-instruction", MASK_USE_DIV }, \ - { "warn-passed-structs", MASK_WARN_PASS_STRUCT }, \ - { "optimize-arg-area", MASK_OPTIMIZE_ARG_AREA }, \ - { "no-optimize-arg-area", -MASK_OPTIMIZE_ARG_AREA }, \ { "no-serialize-volatile", MASK_NO_SERIALIZE_VOLATILE }, \ { "serialize-volatile", -MASK_NO_SERIALIZE_VOLATILE }, \ { "omit-leaf-frame-pointer", MASK_OMIT_LEAF_FRAME_POINTER }, \ diff --git a/gnu/usr.bin/gcc/gcc/doc/invoke.texi b/gnu/usr.bin/gcc/gcc/doc/invoke.texi index 48e68bfddbf..677658eafec 100644 --- a/gnu/usr.bin/gcc/gcc/doc/invoke.texi +++ b/gnu/usr.bin/gcc/gcc/doc/invoke.texi @@ -387,15 +387,14 @@ in the following sections. @emph{M88K Options} @gccoptlist{-m88000 -m88100 -m88110 @gol --mcheck-zero-division -mhandle-large-shift @gol --mno-check-zero-division @gol --mno-ocs-debug-info -mno-ocs-frame-position @gol --mno-optimize-arg-area -mno-serialize-volatile @gol --mno-underscores -mocs-debug-info @gol --mocs-frame-position -moptimize-arg-area @gol --mserialize-volatile -msvr3 @gol --msvr4 -mtrap-large-shift -muse-div-instruction @gol --mwarn-passed-structs} +-mcheck-zero-division -mno-check-zero-division @gol +-muse-div-instruction @gol +-mserialize-volatile -mno-serialize-volatile @gol +-mhandle-large-shift -mtrap-large-shift @gol +-mno-underscores @gol +-mno-ocs-debug-info -mocs-debug-info @gol +-mno-ocs-frame-position -mocs-frame-position @gol +-msvr3 -msvr4} @emph{RS/6000 and PowerPC Options} @gccoptlist{-mcpu=@var{cpu-type} @gol @@ -6481,18 +6480,6 @@ register (register 30). When this option is in effect, the frame pointer is not eliminated when debugging information is selected by the -g switch. -@item -moptimize-arg-area -@opindex moptimize-arg-area -@cindex arguments in frame (88k) -Save space by reorganizing the stack frame. This option generates code -that does not agree with the 88open specifications, but uses less -memory. - -@itemx -mno-optimize-arg-area -@opindex mno-optimize-arg-area -Do not reorganize the stack frame to save space. This is the default. -The generated conforms to the specification, but uses more memory. - @item -mserialize-volatile @opindex mserialize-volatile @itemx -mno-serialize-volatile @@ -6605,14 +6592,6 @@ particular, the behavior of such a division with and without Include code to detect bit-shifts of more than 31 bits; respectively, trap such shifts or emit code to handle them properly. By default GCC makes no special provision for large bit shifts. - -@item -mwarn-passed-structs -@opindex mwarn-passed-structs -@cindex structure passing (88k) -Warn when a function passes a struct as an argument or result. -Structure-passing conventions have changed during the evolution of the C -language, and are often the source of portability problems. By default, -GCC issues no such warning. @end table @c break page here to avoid unsightly interparagraph stretch. |