diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/opts.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cc71ff413d..e3e9f0006ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-09-26 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/37576 + * opts.c (common_handle_option): Don't call print_specific_help with + CL_SAVE as first argument. + 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> Steve Ellcey <sje@cup.hp.com> diff --git a/gcc/opts.c b/gcc/opts.c index 6e210ea7ceb..bac50b0925f 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1459,7 +1459,8 @@ common_handle_option (size_t scode, const char *arg, int value, print_specific_help (0, undoc_mask, all_langs_mask); /* Then display any remaining, non-language options. */ for (i = CL_MIN_OPTION_CLASS; i <= CL_MAX_OPTION_CLASS; i <<= 1) - print_specific_help (i, undoc_mask, 0); + if (i != CL_SAVE) + print_specific_help (i, undoc_mask, 0); exit_after_options = true; break; } |