diff options
author | Martin Sebor <msebor@redhat.com> | 2015-10-21 22:24:41 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2015-10-21 16:24:41 -0600 |
commit | a7b2e1845f0c20da4ed6462161f58f706a587d44 (patch) | |
tree | 0e86ee5c584e34b06f641c070503e72ef5231aaf /gcc/config/s390 | |
parent | 22d663823adbd7b1a17e0c7b89ab8c489ae6c8f4 (diff) | |
download | gcc-a7b2e1845f0c20da4ed6462161f58f706a587d44.zip gcc-a7b2e1845f0c20da4ed6462161f58f706a587d44.tar.gz gcc-a7b2e1845f0c20da4ed6462161f58f706a587d44.tar.bz2 |
Improve --help output to generate references to option aliases.
gcc/
PR driver/68043
* opts.c (undocumented_msg, use_diagnosed_msg): New globals.
(print_filtered_help): Reference aliased option's name and encourage
readers to use it in preference to the alias if the former is not
documented. Mention when using an option is diagnosed.
* gcc.c (display_help): End each sentence with a period.
* ada/gcc-interface/lang.opt: End each sentence that describes
an option with a period.
* c-family/c.opt: Same.
* common.opt: Same.
* config/aarch64/aarch64.opt: Same.
* config/alpha/alpha.opt: Same.
* config/arc/arc.opt: Same.
* config/arm/arm.opt: Same.
* config/avr/avr.opt: Same.
* config/bfin/bfin.opt: Same.
* config/c6x/c6x.opt: Same.
* config/cr16/cr16.opt: Same.
* config/cris/cris.opt: Same.
* config/cris/linux.opt: Same.
* config/darwin.opt: Same.
* config/epiphany/epiphany.opt: Same.
* config/fr30/fr30.opt: Same.
* config/frv/frv.opt: Same.
* config/ft32/ft32.opt: Same.
* config/g.opt: Same.
* config/h8300/h8300.opt: Same.
* config/i386/cygming.opt: Same.
* config/i386/djgpp.opt: Same.
* config/i386/i386.opt: Same.
* config/i386/interix.opt: Same.
* config/i386/mingw-w64.opt: Same.
* config/i386/mingw.opt: Same.
* config/ia64/ia64.opt: Same.
* config/ia64/ilp32.opt: Same.
* config/iq2000/iq2000.opt: Same.
* config/linux.opt: Same.
* config/lm32/lm32.opt: Same.
* config/lynx.opt: Same.
* config/m32c/m32c.opt: Same.
* config/m32r/m32r.opt: Same.
* config/m68k/ieee.opt: Same.
* config/m68k/m68k.opt: Same.
* config/mcore/mcore.opt: Same.
* config/mep/mep.opt: Same.
* config/microblaze/microblaze.opt: Same.
* config/mips/mips.opt: Same.
* config/mmix/mmix.opt: Same.
* config/mn10300/mn10300.opt: Same.
* config/moxie/moxie.opt: Same.
* config/msp430/msp430.opt: Same.
* config/nios2/elf.opt: Same.
* config/nios2/nios2.opt: Same.
* config/nvptx/nvptx.opt: Same.
* config/pa/pa-hpux.opt: Same.
* config/pa/pa-hpux1010.opt: Same.
* config/pa/pa-hpux1111.opt: Same.
* config/pa/pa-hpux1131.opt: Same.
* config/pa/pa.opt: Same.
* config/pa/pa64-hpux.opt: Same.
* config/pdp11/pdp11.opt: Same.
* config/rl78/rl78.opt: Same.
* config/rs6000/476.opt: Same.
* config/rs6000/aix64.opt: Same.
* config/rs6000/darwin.opt: Same.
* config/rs6000/linux64.opt: Same.
* config/rs6000/rs6000.opt: Same.
* config/rs6000/sysv4.opt: Same.
* config/s390/s390.opt: Same.
* config/s390/tpf.opt: Same.
* config/sh/sh.opt: Same.
* config/sol2.opt: Same.
* config/sparc/long-double-switch.opt: Same.
* config/sparc/sparc.opt: Same.
* config/spu/spu.opt: Same.
* config/stormy16/stormy16.opt: Same.
* config/tilegx/tilegx.opt: Same.
* config/tilepro/tilepro.opt: Same.
* config/v850/v850.opt: Same.
* config/vax/vax.opt: Same.
* config/visium/visium.opt: Same.
* config/vms/vms.opt: Same.
* config/vxworks.opt: Same.
* config/xtensa/xtensa.opt: Same.
* fortran/lang.opt: Same.
testsuite/
PR driver/68043
* gcc.misc-tests/help.exp: Adjust.
* lib/options.exp (check_for_options): Add detail to output.
From-SVN: r229155
Diffstat (limited to 'gcc/config/s390')
-rw-r--r-- | gcc/config/s390/s390.opt | 46 | ||||
-rw-r--r-- | gcc/config/s390/tpf.opt | 4 |
2 files changed, 25 insertions, 25 deletions
diff --git a/gcc/config/s390/s390.opt b/gcc/config/s390/s390.opt index 7ef11d4..af82815 100644 --- a/gcc/config/s390/s390.opt +++ b/gcc/config/s390/s390.opt @@ -36,15 +36,15 @@ HOST_WIDE_INT s390_warn_framesize = 0 m31 Target Report RejectNegative Negative(m64) InverseMask(64BIT) -31 bit ABI +31 bit ABI. m64 Target Report RejectNegative Negative(m31) Mask(64BIT) -64 bit ABI +64 bit ABI. march= Target RejectNegative Joined Enum(processor_type) Var(s390_arch) Init(PROCESSOR_max) -Generate code for given CPU +Generate code for given CPU. Enum Name(processor_type) Type(enum processor_type) @@ -84,23 +84,23 @@ Enum(processor_type) String(native) Value(PROCESSOR_NATIVE) DriverOnly mbackchain Target Report Mask(BACKCHAIN) -Maintain backchain pointer +Maintain backchain pointer. mdebug Target Report Mask(DEBUG_ARG) -Additional debug prints +Additional debug prints. mesa Target Report RejectNegative Negative(mzarch) InverseMask(ZARCH) -ESA/390 architecture +ESA/390 architecture. mhard-dfp Target Report Mask(HARD_DFP) -Enable decimal floating point hardware support +Enable decimal floating point hardware support. mhard-float Target Report RejectNegative Negative(msoft-float) InverseMask(SOFT_FLOAT, HARD_FLOAT) -Enable hardware floating point +Enable hardware floating point. mhotpatch= Target RejectNegative Report Joined Var(s390_deferred_options) Defer @@ -114,47 +114,47 @@ size. Using 0 for both values disables hotpatching. mlong-double-128 Target Report RejectNegative Negative(mlong-double-64) Mask(LONG_DOUBLE_128) -Use 128-bit long double +Use 128-bit long double. mlong-double-64 Target Report RejectNegative Negative(mlong-double-128) InverseMask(LONG_DOUBLE_128) -Use 64-bit long double +Use 64-bit long double. mhtm Target Report Mask(OPT_HTM) -Use hardware transactional execution instructions +Use hardware transactional execution instructions. mvx Target Report Mask(OPT_VX) -Use hardware vector facility instructions and enable the vector ABI +Use hardware vector facility instructions and enable the vector ABI. mpacked-stack Target Report Mask(PACKED_STACK) -Use packed stack layout +Use packed stack layout. msmall-exec Target Report Mask(SMALL_EXEC) -Use bras for executable < 64k +Use bras for executable < 64k. msoft-float Target Report RejectNegative Negative(mhard-float) Mask(SOFT_FLOAT) -Disable hardware floating point +Disable hardware floating point. mstack-guard= Target RejectNegative Joined UInteger Var(s390_stack_guard) -Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered +Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered. mstack-size= Target RejectNegative Joined UInteger Var(s390_stack_size) -Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit +Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit. mtune= Target RejectNegative Joined Enum(processor_type) Var(s390_tune) Init(PROCESSOR_max) -Schedule code for given CPU +Schedule code for given CPU. mmvcle Target Report Mask(MVCLE) -mvcle use +mvcle use. mzvector Target Report Mask(ZVECTOR) @@ -163,15 +163,15 @@ vector macro and enable the Altivec-style builtins in vecintrin.h mwarn-dynamicstack Target RejectNegative Var(s390_warn_dynamicstack_p) -Warn if a function uses alloca or creates an array with dynamic size +Warn if a function uses alloca or creates an array with dynamic size. mwarn-framesize= Target RejectNegative Joined -Warn if a single function's framesize exceeds the given framesize +Warn if a single function's framesize exceeds the given framesize. mzarch Target Report RejectNegative Negative(mesa) Mask(ZARCH) -z/Architecture +z/Architecture. mbranch-cost= Target Report Joined RejectNegative UInteger Var(s390_branch_cost) Init(1) @@ -181,4 +181,4 @@ values are small, non-negative integers. The default branch cost is mlra Target Report Var(s390_lra_flag) Init(1) Save -Use LRA instead of reload +Use LRA instead of reload. diff --git a/gcc/config/s390/tpf.opt b/gcc/config/s390/tpf.opt index 504c84c..145f2f8 100644 --- a/gcc/config/s390/tpf.opt +++ b/gcc/config/s390/tpf.opt @@ -20,8 +20,8 @@ mtpf-trace Target Report Mask(TPF_PROFILING) -Enable TPF-OS tracing code +Enable TPF-OS tracing code. mmain Target Report -Specify main object for TPF-OS +Specify main object for TPF-OS. |