re PR middle-end/37576 (-v --help ICEs)

PR middle-end/37576
	* opts.c (common_handle_option): Don't call print_specific_help with
	CL_SAVE as first argument.

From-SVN: r140709
This commit is contained in:
Jakub Jelinek 2008-09-26 18:45:44 +02:00 committed by Jakub Jelinek
parent 77a3eb6136
commit 711428147b
2 changed files with 8 additions and 1 deletions

View File

@ -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>

View File

@ -1459,6 +1459,7 @@ 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)
if (i != CL_SAVE)
print_specific_help (i, undoc_mask, 0);
exit_after_options = true;
break;