[Patch, option handling] optc-gen.awk - support || in EnabledBy()
Tobias Burnus
burnus@net-b.de
Sat Nov 22 14:14:00 GMT 2014
In fortran/*.opt, I'd like to use:
Fortran Var(warn_tabs) Warning EnabledBy(Wall || Wpedantic)
However, "||" is not supported by EnabledBy. This patch adds it. I
checked that option.c remains the same after the patch.
I attached the patch twice: Once with "-w -U16" to show the modification
(minus re-indenting) and once with re-indenting.
OK for the trunk?
Tobias
gcc/
2014-11-22 Tobias Burnus <net-b.de>
* optc-gen.awk: Support || in EnabledBy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-w-U16.diff
Type: text/x-patch
Size: 3884 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141122/1e5bd872/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.diff
Type: text/x-patch
Size: 4585 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141122/1e5bd872/attachment-0001.bin>
More information about the Gcc-patches
mailing list