opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling.
authorAndi Kleen <ak@linux.intel.com>
Thu, 2 Sep 2010 06:20:03 +0000 (06:20 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Thu, 2 Sep 2010 06:20:03 +0000 (06:20 +0000)
2010-09-02  Andi Kleen  <ak@linux.intel.com>

        * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling.

From-SVN: r163759

gcc/ChangeLog
gcc/opts.c

index c54610f1ac9b289d4cceb8161c5f4091d61842f0..6a551c28881e2a15f28e6761e6058818357ac8f2 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-02  Andi Kleen  <ak@linux.intel.com>
+
+       * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_ handling.
+
 2010-09-02  Ira Rosen  <irar@il.ibm.com>
 
        * tree-vectorizer.h (get_later_stmt): New function.
index fbee8f63ab477a6cfe9f7d3c12adac2ef26d6a55..7425fa4c34eed037a9cfdf94f5e7f35f79bee0b8 100644 (file)
@@ -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;