Introduce =<number> for couple of options.

2017-02-28  Martin Liska  <mliska@suse.cz>

	* c.opt: Replace space with tabular for options of <number>
	type.
2017-02-28  Martin Liska  <mliska@suse.cz>

	* common.opt: Replace space with tabular for options of <number>
	type.
	* config/i386/i386.opt: Show <number> value for
	-mlarge-data-threshold.
	* opts.c (print_filtered_help): Do not display number in hexadecimal
	format.

From-SVN: r245789
This commit is contained in:
Martin Liska 2017-02-28 23:02:58 +01:00 committed by Martin Liska
parent 6a825afe90
commit 9453ba0a0e
6 changed files with 21 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2017-02-28 Martin Liska <mliska@suse.cz>
* common.opt: Replace space with tabular for options of <number>
type.
* config/i386/i386.opt: Show <number> value for
-mlarge-data-threshold.
* opts.c (print_filtered_help): Do not display number in hexadecimal
format.
2017-02-28 Martin Liska <mliska@suse.cz>
* common.opt: Fix --help=option -Q for options which are of

View File

@ -1,3 +1,8 @@
2017-02-28 Martin Liska <mliska@suse.cz>
* c.opt: Replace space with tabular for options of <number>
type.
2017-02-28 Martin Liska <mliska@suse.cz>
* c.opt: Fix --help=option -Q for options which are of

View File

@ -314,7 +314,7 @@ C ObjC C++ ObjC++ Var(warn_alloc_zero) Warning
Walloca-larger-than=
C ObjC C++ LTO ObjC++ Var(warn_alloca_limit) Warning Joined RejectNegative UInteger
-Walloca-larger-than=<number> Warn on unbounded uses of
-Walloca-larger-than=<number> Warn on unbounded uses of
alloca, and on bounded uses of alloca whose bound can be larger than
<number> bytes.
@ -1097,7 +1097,7 @@ Warn if a variable length array is used.
Wvla-larger-than=
C ObjC C++ ObjC++ Var(warn_vla_limit) Warning Joined RejectNegative UInteger
-Wvla-larger-than=<number> Warn on unbounded uses of variable-length arrays, and
-Wvla-larger-than=<number> Warn on unbounded uses of variable-length arrays, and
on bounded uses of variable-length arrays whose bound can be
larger than <number> bytes.

View File

@ -689,8 +689,8 @@ Common Var(warn_stack_protect) Warning
Warn when not issuing stack smashing protection for some reason.
Wstack-usage=
Common Joined RejectNegative UInteger Var(warn_stack_usage) Init(-1) Warning
Warn if stack usage might be larger than specified amount.
Common Joined RejectNegative UInteger Var(warn_stack_usage) Warning
-Wstack-usage=<number> Warn if stack usage might be larger than specified amount.
Wstrict-aliasing
Common Warning
@ -2523,7 +2523,7 @@ Enable loop optimizations on tree level.
ftree-parallelize-loops=
Common Report Joined RejectNegative UInteger Var(flag_tree_parallelize_loops) Init(1) Optimization
Enable automatic parallelization of loops.
-ftree-parallelize-loops=<number> Enable automatic parallelization of loops.
ftree-phiprop
Common Report Var(flag_tree_phiprop) Init(1) Optimization

View File

@ -272,7 +272,7 @@ Branches are this expensive (1-5, arbitrary units).
mlarge-data-threshold=
Target RejectNegative Joined UInteger Var(ix86_section_threshold) Init(DEFAULT_LARGE_SECTION_THRESHOLD)
Data greater than given threshold will go into .ldata section in x86-64 medium model.
-mlarge-data-threshold=<number> Data greater than given threshold will go into .ldata section in x86-64 medium model.
mcmodel=
Target RejectNegative Joined Enum(cmodel) Var(ix86_cmodel) Init(CM_32)

View File

@ -1246,7 +1246,7 @@ print_filtered_help (unsigned int include_flags,
}
else
sprintf (new_help + strlen (new_help),
"%#x", * (int *) flag_var);
"%d", * (int *) flag_var);
}
else
strcat (new_help, option_enabled (i, opts)