From: Andi Kleen Date: Thu, 2 Sep 2010 06:20:03 +0000 (+0000) Subject: opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling. X-Git-Tag: upstream/12.2.0~90571 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e10909ceaf93ae366ee3c70500854a132c088afb;p=platform%2Fupstream%2Fgcc.git opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling. 2010-09-02 Andi Kleen * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling. From-SVN: r163759 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c54610f..6a551c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-09-02 Andi Kleen + + * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_ handling. + 2010-09-02 Ira Rosen * tree-vectorizer.h (get_later_stmt): New function. diff --git a/gcc/opts.c b/gcc/opts.c index fbee8f6..7425fa4 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;