Replace translate_options with .opt aliases
Tobias Burnus
burnus@net-b.de
Thu Sep 16 20:33:00 GMT 2010
Joseph S. Myers wrote:
> This patch replaces translate_options, a textual substitution pass
> over the command line taking place before the options are decoded,
> with use of the .opt option alias facility and handling variants such
> as -- for -f at the time options are decoded (while keeping the
> original spellings available for diagnostics). [...]
>
>
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu. Also
> tested with cross to mep-elf (patched as described in
> <http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00664.html>) that
> appropriate translations were made in the
> TARGET_OPTION_TRANSLATE_TABLE case. OK to commit?
The Fortran bits are OK.
Tobias
> 2010-09-08 Joseph Myers<joseph@codesourcery.com>
>
> fortran:
> 2010-09-08 Joseph Myers<joseph@codesourcery.com>
>
> * gfortranspec.c (lang_specific_driver): Handle OPT__version and
> OPT__help instead of OPT_fversion and OPT_fhelp.
> * lang.opt (-all-warnings, -assert, -assert=, -comments,
> -comments-in-macros, -define-macro, -define-macro=, -dependencies,
> -dump, -dump=, -include-barrier, -include-directory,
> -include-directory=, -include-directory-after,
> -include-directory-after=, -include-prefix, -include-prefix=,
> -no-line-commands, -no-standard-includes, -output, -output=,
> -preprocess, -print-missing-file-dependencies, -trace-includes,
> -undefine-macro, -undefine-macro=, -user-dependencies, -verbose,
> -write-dependencies, -write-user-dependencies): New.
More information about the Fortran
mailing list