diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c54610f1ac9..6a551c28881 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 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;