From: Brooks Moses Date: Wed, 4 Apr 2007 18:17:30 +0000 (+0000) Subject: re PR other/31356 (gcc --help= option has problems in the output header... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5456e04b4785070ea7517669a7039de3b855923;p=gcc.git re PR other/31356 (gcc --help= option has problems in the output header line.) PR other/31356 * gcc.c (print_specific_help): Fix --help= header line. (common_handle_option): Support --help=common. From-SVN: r123499 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c16fc4dbdcf..93f60a156ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-04-04 Brooks Moses + + PR other/31356 + * opts.c (print_specific_help): Fix --help= + header line. + (common_handle_option): Support --help=common. + 2007-04-04 Brooks Moses PR other/31353 diff --git a/gcc/opts.c b/gcc/opts.c index f8eeb1a7db9..4878b07c7c2 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -893,7 +893,8 @@ print_specific_help (unsigned int include_flags, descrip_extra = lang_names [i]; } else - description = _("The following options are supported by, amoung others, the language "); + description = _("The following options are supported by the language "); + descrip_extra = lang_names [i]; break; } } @@ -983,7 +984,8 @@ common_handle_option (size_t scode, const char *arg, int value, /* Walk along the argument string, parsing each word in turn. The format is: arg = [^]{word}[,{arg}] - word = {optimizers|target|warnings|undocumented|params} */ + word = {optimizers|target|warnings|undocumented| + params|common|} */ while (* a != 0) { static struct @@ -1000,6 +1002,7 @@ common_handle_option (size_t scode, const char *arg, int value, { "params", CL_PARAMS }, { "joined", CL_JOINED }, { "separate", CL_SEPARATE }, + { "common", CL_COMMON }, { NULL, 0 } }; unsigned int * pflags;