diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-07-18 05:32:42 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-18 05:32:42 +0000 |
commit | b2e608ca7ff1fa5bce267d52e27e96e36bd4e170 (patch) | |
tree | 798be2a5ea29f19335b45a06dc3dabad0b94b178 /gcc/toplev.c | |
parent | 9cd51ef68e4ccc21469478d45d00a6c931e2a62e (diff) | |
download | gcc-b2e608ca7ff1fa5bce267d52e27e96e36bd4e170.zip gcc-b2e608ca7ff1fa5bce267d52e27e96e36bd4e170.tar.gz gcc-b2e608ca7ff1fa5bce267d52e27e96e36bd4e170.tar.bz2 |
Makefile.in, [...]: Remove handling of lang-options.h and options_.h.
* Makefile.in, configure, configure.in: Remove handling of
lang-options.h and options_.h.
* toplev.c (struct lang_opt, documented_lang_options): Remove.
(display_help): Don't use documented_lang_options.
ada:
* lang-options.h: Remove.
* lang.opt: Add help text.
java:
* lang-options.h: Remove.
* lang.opt: Add help text.
From-SVN: r69544
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 4e34bc1..eac5562 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1179,22 +1179,6 @@ static const lang_independent_options f_options[] = { "new-ra", &flag_new_regalloc, 1 } }; -/* Table of language-specific options. */ - -static const struct lang_opt -{ - const char *const option; - const char *const description; -} -documented_lang_options[] = -{ -#define DEFINE_LANG_NAME(NAME) { NULL, NAME }, - -#include "options_.h" - - { NULL, "Dummy" } -}; - /* Here is a table, controlled by the tm.h file, listing each -m switch and which bits in `target_switches' it should set or clear. If VALUE is positive, it is bits to set. @@ -3605,9 +3589,7 @@ rest_of_compilation (tree decl) void display_help (void) { - int undoc; unsigned long i; - const char *lang; for (i = LAST_PARAM; i--;) { @@ -3628,56 +3610,6 @@ display_help (void) debug_args[i].arg, _(debug_args[i].description)); } - undoc = 0; - lang = "language"; - - /* Display descriptions of language specific options. - If there is no description, note that there is an undocumented option. - If the description is empty, do not display anything. (This allows - options to be deliberately undocumented, for whatever reason). - If the option string is missing, then this is a marker, indicating - that the description string is in fact the name of a language, whose - language specific options are to follow. */ - - if (ARRAY_SIZE (documented_lang_options) > 1) - { - printf (_("\nLanguage specific options:\n")); - - for (i = 0; i < ARRAY_SIZE (documented_lang_options); i++) - { - const char *description = documented_lang_options[i].description; - const char *option = documented_lang_options[i].option; - - if (description == NULL) - { - undoc = 1; - - if (extra_warnings) - printf (_(" %-23s [undocumented]\n"), option); - } - else if (*description == 0) - continue; - else if (option == NULL) - { - if (undoc) - printf - (_("\nThere are undocumented %s specific options as well.\n"), - lang); - undoc = 0; - - printf (_("\n Options for %s:\n"), description); - - lang = description; - } - else - printf (" %-23s %s\n", option, _(description)); - } - } - - if (undoc) - printf (_("\nThere are undocumented %s specific options as well.\n"), - lang); - display_target_options (); } |