[PATCH] Add tabulars for options with enum values.
Martin Liška
mliska@suse.cz
Tue Feb 28 13:15:00 GMT 2017
Hello.
We have various enum options that do not properly display options with --help=*:
Apart from that, some of them are not separated by tabular, but with a space.
Using the suggested patch, --help=common will get:
--- /tmp/before 2017-02-28 10:41:12.107024945 +0100
+++ /tmp/after 2017-02-28 10:41:32.615415978 +0100
@@ -193,7 +193,7 @@
-ffloat-store [disabled]
-fforce-addr
-fforward-propagate [disabled]
- -ffp-contract= fast
+ -ffp-contract=[off|on|fast] fast
-ffp-int-builtin-inexact [enabled]
-ffunction-cse [enabled]
-ffunction-sections [disabled]
@@ -242,10 +242,10 @@
-fipa-sra [disabled]
-fipa-struct-reorg
-fipa-vrp [disabled]
- -fira-algorithm= CB
+ -fira-algorithm=[CB|priority] CB
-fira-hoist-pressure [enabled]
-fira-loop-pressure [disabled]
- -fira-region= [default]
+ -fira-region=[one|all|mixed] [default]
-fira-share-save-slots [enabled]
-fira-share-spill-slots [enabled]
-fira-verbose=<number> 0x5
@@ -336,7 +336,7 @@
-fregmove
-frename-registers [enabled]
-freorder-blocks [disabled]
- -freorder-blocks-algorithm= simple
+ -freorder-blocks-algorithm=[simple|stc] simple
-freorder-blocks-and-partition [disabled]
-freorder-functions [disabled]
-freport-bug [disabled]
@@ -386,7 +386,7 @@
-fshrink-wrap-separate [enabled]
-fsignaling-nans [disabled]
-fsigned-zeros [enabled]
- -fsimd-cost-model= unlimited
+ -fsimd-cost-model=[unlimited|dynamic|cheap] unlimited
-fsingle-precision-constant [disabled]
-fsplit-ivs-in-unroller [enabled]
-fsplit-loops [disabled]
@@ -404,7 +404,7 @@
-fstack-protector-all [disabled]
-fstack-protector-explicit [disabled]
-fstack-protector-strong [disabled]
- -fstack-reuse= all
+ -fstack-reuse=[all|named_vars|none] all
-fstack-usage [disabled]
-fstdarg-opt [enabled]
-fstore-merging [disabled]
@@ -489,7 +489,7 @@
-fvar-tracking-uninit [disabled]
-fvariable-expansion-in-unroller [disabled]
-fvect-cost-model
- -fvect-cost-model= [default]
+ Specifies the cost model for vectorization. -fvect-cost-model=[unlimited|dynamic|cheap] [default]
-fverbose-asm [disabled]
-fversion
-fvisibility=[default|internal|hidden|protected] default
Ready to be installed after regression tests?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-tabulars-for-options-with-enum-values.patch
Type: text/x-patch
Size: 4426 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170228/6e5bf4c8/attachment.bin>
More information about the Gcc-patches
mailing list