From: Martin Liska Date: Tue, 28 Feb 2017 22:02:15 +0000 (+0100) Subject: Add tabulars for options with enum values. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a825afe90080c1c187cacc6d6a90d322c1d9e7d;p=gcc.git Add tabulars for options with enum values. 2017-02-28 Martin Liska * common.opt: Fix --help=option -Q for options which are of an enum type. 2017-02-28 Martin Liska * c.opt: Fix --help=option -Q for options which are of an enum type. From-SVN: r245788 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 880679112e3..dcb65530c6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-02-28 Martin Liska + + * common.opt: Fix --help=option -Q for options which are of + an enum type. + 2017-02-28 Uros Bizjak * config/i386/i386.c (print_reg): Error out for values diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index b2f2d08202c..22eee9d1a8b 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-02-28 Martin Liska + + * c.opt: Fix --help=option -Q for options which are of + an enum type. + 2017-02-24 Jakub Jelinek PR c++/79588 diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index a863471da7f..9b9aab44810 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -293,7 +293,7 @@ Warn about 'new' of type with extended alignment without -faligned-new. Waligned-new= C++ ObjC++ Var(warn_aligned_new) Enum(warn_aligned_new_level) Joined RejectNegative Warning LangEnabledBy(C++ ObjC++,Wall,1,0) --Waligned-new=all Warn even if 'new' uses a class member allocation function. +-Waligned-new=[none|global|all] Warn even if 'new' uses a class member allocation function. Wall C ObjC C++ ObjC++ Warning diff --git a/gcc/common.opt b/gcc/common.opt index e5ae364abd9..1a19847fe44 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1376,7 +1376,7 @@ Perform a forward propagation pass on RTL. ffp-contract= Common Joined RejectNegative Enum(fp_contract_mode) Var(flag_fp_contract_mode) Init(FP_CONTRACT_FAST) Optimization --ffp-contract=[off|on|fast] Perform floating-point expression contraction. +-ffp-contract=[off|on|fast] Perform floating-point expression contraction. Enum Name(fp_contract_mode) Type(enum fp_contract_mode) UnknownError(unknown floating point contraction style %qs) @@ -1528,7 +1528,7 @@ Perform conversion of conditional jumps to conditional execution. fstack-reuse= Common Joined RejectNegative Enum(stack_reuse_level) Var(flag_stack_reuse) Init(SR_ALL) Optimization --fstack-reuse=[all|named_vars|none] Set stack reuse level for local variables. +-fstack-reuse=[all|named_vars|none] Set stack reuse level for local variables. Enum Name(stack_reuse_level) Type(enum stack_reuse_level) UnknownError(unknown Stack Reuse Level %qs) @@ -1661,7 +1661,7 @@ Perform IPA Value Range Propagation. fira-algorithm= Common Joined RejectNegative Enum(ira_algorithm) Var(flag_ira_algorithm) Init(IRA_ALGORITHM_CB) Optimization --fira-algorithm=[CB|priority] Set the used IRA algorithm. +-fira-algorithm=[CB|priority] Set the used IRA algorithm. Enum Name(ira_algorithm) Type(enum ira_algorithm) UnknownError(unknown IRA algorithm %qs) @@ -1674,7 +1674,7 @@ Enum(ira_algorithm) String(priority) Value(IRA_ALGORITHM_PRIORITY) fira-region= Common Joined RejectNegative Enum(ira_region) Var(flag_ira_region) Init(IRA_REGION_AUTODETECT) Optimization --fira-region=[one|all|mixed] Set regions for IRA. +-fira-region=[one|all|mixed] Set regions for IRA. Enum Name(ira_region) Type(enum ira_region) UnknownError(unknown IRA region %qs) @@ -2073,7 +2073,7 @@ Reorder basic blocks to improve code placement. freorder-blocks-algorithm= Common Joined RejectNegative Enum(reorder_blocks_algorithm) Var(flag_reorder_blocks_algorithm) Init(REORDER_BLOCKS_ALGORITHM_SIMPLE) Optimization --freorder-blocks-algorithm=[simple|stc] Set the used basic block reordering algorithm. +-freorder-blocks-algorithm=[simple|stc] Set the used basic block reordering algorithm. Enum Name(reorder_blocks_algorithm) Type(enum reorder_blocks_algorithm) UnknownError(unknown basic block reordering algorithm %qs) @@ -2691,10 +2691,11 @@ Enable basic block vectorization (SLP) on trees. fvect-cost-model= Common Joined RejectNegative Enum(vect_cost_model) Var(flag_vect_cost_model) Init(VECT_COST_MODEL_DEFAULT) Optimization Specifies the cost model for vectorization. +-fvect-cost-model=[unlimited|dynamic|cheap] Specifies the cost model for vectorization. fsimd-cost-model= Common Joined RejectNegative Enum(vect_cost_model) Var(flag_simd_cost_model) Init(VECT_COST_MODEL_UNLIMITED) Optimization -Specifies the vectorization cost model for code marked with a simd directive. +-fsimd-cost-model=[unlimited|dynamic|cheap] Specifies the vectorization cost model for code marked with a simd directive. Enum Name(vect_cost_model) Type(enum vect_cost_model) UnknownError(unknown vectorizer cost model %qs)