From 9453ba0a0e7aa578d2b4ad61862efe0d3d52c567 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 28 Feb 2017 23:02:58 +0100 Subject: [PATCH] Introduce = for couple of options. 2017-02-28 Martin Liska * c.opt: Replace space with tabular for options of type. 2017-02-28 Martin Liska * common.opt: Replace space with tabular for options of type. * config/i386/i386.opt: Show value for -mlarge-data-threshold. * opts.c (print_filtered_help): Do not display number in hexadecimal format. From-SVN: r245789 --- gcc/ChangeLog | 9 +++++++++ gcc/c-family/ChangeLog | 5 +++++ gcc/c-family/c.opt | 4 ++-- gcc/common.opt | 6 +++--- gcc/config/i386/i386.opt | 2 +- gcc/opts.c | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dcb65530c6f..7890a729f70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2017-02-28 Martin Liska + + * common.opt: Replace space with tabular for options of + type. + * config/i386/i386.opt: Show value for + -mlarge-data-threshold. + * opts.c (print_filtered_help): Do not display number in hexadecimal + format. + 2017-02-28 Martin Liska * common.opt: Fix --help=option -Q for options which are of diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 22eee9d1a8b..b97a7e731e5 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-02-28 Martin Liska + + * c.opt: Replace space with tabular for options of + type. + 2017-02-28 Martin Liska * c.opt: Fix --help=option -Q for options which are of diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 9b9aab44810..cf459ab4427 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -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= Warn on unbounded uses of +-Walloca-larger-than= Warn on unbounded uses of alloca, and on bounded uses of alloca whose bound can be larger than 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= Warn on unbounded uses of variable-length arrays, and +-Wvla-larger-than= Warn on unbounded uses of variable-length arrays, and on bounded uses of variable-length arrays whose bound can be larger than bytes. diff --git a/gcc/common.opt b/gcc/common.opt index 1a19847fe44..4021622cf5c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -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= 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= Enable automatic parallelization of loops. ftree-phiprop Common Report Var(flag_tree_phiprop) Init(1) Optimization diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 36251abfeb5..9384e29b1de 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -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= 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) diff --git a/gcc/opts.c b/gcc/opts.c index c4768603ec9..8274fab6661 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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) -- 2.30.2