Commit 9453ba0a by Martin Liska Committed by Martin Liska

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
parent 6a825afe
2017-02-28 Martin Liska <mliska@suse.cz> 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 * common.opt: Fix --help=option -Q for options which are of
an enum type. an enum type.
......
2017-02-28 Martin Liska <mliska@suse.cz> 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 * c.opt: Fix --help=option -Q for options which are of
an enum type. an enum type.
......
...@@ -314,7 +314,7 @@ C ObjC C++ ObjC++ Var(warn_alloc_zero) Warning ...@@ -314,7 +314,7 @@ C ObjC C++ ObjC++ Var(warn_alloc_zero) Warning
Walloca-larger-than= Walloca-larger-than=
C ObjC C++ LTO ObjC++ Var(warn_alloca_limit) Warning Joined RejectNegative UInteger 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 alloca, and on bounded uses of alloca whose bound can be larger than
<number> bytes. <number> bytes.
...@@ -1097,7 +1097,7 @@ Warn if a variable length array is used. ...@@ -1097,7 +1097,7 @@ Warn if a variable length array is used.
Wvla-larger-than= Wvla-larger-than=
C ObjC C++ ObjC++ Var(warn_vla_limit) Warning Joined RejectNegative UInteger 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 on bounded uses of variable-length arrays whose bound can be
larger than <number> bytes. larger than <number> bytes.
......
...@@ -689,8 +689,8 @@ Common Var(warn_stack_protect) Warning ...@@ -689,8 +689,8 @@ Common Var(warn_stack_protect) Warning
Warn when not issuing stack smashing protection for some reason. Warn when not issuing stack smashing protection for some reason.
Wstack-usage= Wstack-usage=
Common Joined RejectNegative UInteger Var(warn_stack_usage) Init(-1) Warning Common Joined RejectNegative UInteger Var(warn_stack_usage) Warning
Warn if stack usage might be larger than specified amount. -Wstack-usage=<number> Warn if stack usage might be larger than specified amount.
Wstrict-aliasing Wstrict-aliasing
Common Warning Common Warning
...@@ -2523,7 +2523,7 @@ Enable loop optimizations on tree level. ...@@ -2523,7 +2523,7 @@ Enable loop optimizations on tree level.
ftree-parallelize-loops= ftree-parallelize-loops=
Common Report Joined RejectNegative UInteger Var(flag_tree_parallelize_loops) Init(1) Optimization 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 ftree-phiprop
Common Report Var(flag_tree_phiprop) Init(1) Optimization Common Report Var(flag_tree_phiprop) Init(1) Optimization
......
...@@ -272,7 +272,7 @@ Branches are this expensive (1-5, arbitrary units). ...@@ -272,7 +272,7 @@ Branches are this expensive (1-5, arbitrary units).
mlarge-data-threshold= mlarge-data-threshold=
Target RejectNegative Joined UInteger Var(ix86_section_threshold) Init(DEFAULT_LARGE_SECTION_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= mcmodel=
Target RejectNegative Joined Enum(cmodel) Var(ix86_cmodel) Init(CM_32) Target RejectNegative Joined Enum(cmodel) Var(ix86_cmodel) Init(CM_32)
......
...@@ -1246,7 +1246,7 @@ print_filtered_help (unsigned int include_flags, ...@@ -1246,7 +1246,7 @@ print_filtered_help (unsigned int include_flags,
} }
else else
sprintf (new_help + strlen (new_help), sprintf (new_help + strlen (new_help),
"%#x", * (int *) flag_var); "%d", * (int *) flag_var);
} }
else else
strcat (new_help, option_enabled (i, opts) strcat (new_help, option_enabled (i, opts)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment