OSDN Git Service

2010-09-02 Andi Kleen <ak@linux.intel.com>
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2010 06:20:03 +0000 (06:20 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2010 06:20:03 +0000 (06:20 +0000)
        * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163759 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/opts.c

index c54610f..6a551c2 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 fbee8f6..7425fa4 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;