summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-26 16:45:44 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-26 16:45:44 +0000
commitbcef5515cf5c55357701b19f8a2824e141bea97d (patch)
tree0e6f034faa48a9155e1ff83cfe59e3809c28481d /gcc/opts.c
parent39c4f3ed29a5e807365c089c28224911b0a73dad (diff)
downloadgcc-bcef5515cf5c55357701b19f8a2824e141bea97d.tar.gz
PR middle-end/37576
* opts.c (common_handle_option): Don't call print_specific_help with CL_SAVE as first argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c3
1 files changed, 2 insertions, 1 deletions
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;
}