summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index fbee8f63ab4..7425fa4c34e 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -2088,10 +2088,14 @@ common_handle_option (const struct cl_decoded_option *decoded,
global_dc->pedantic_errors = 1;
break;
- case OPT_fwhopr:
+ case OPT_fwhopr_:
flag_whopr = arg;
break;
+ case OPT_fwhopr:
+ flag_whopr = "";
+ break;
+
case OPT_w:
global_dc->inhibit_warnings = true;
break;