summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-09-02 06:20:03 +0000
committerAndi Kleen <ak@gcc.gnu.org>2010-09-02 06:20:03 +0000
commite10909ceaf93ae366ee3c70500854a132c088afb (patch)
tree58d6059efac8d0017a360af65f44164c8fbeee6b /gcc
parente4a707c4920ed5cd0bd960a5dc6af93d9f65015c (diff)
downloadgcc-e10909ceaf93ae366ee3c70500854a132c088afb.tar.gz
opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling.
2010-09-02 Andi Kleen <ak@linux.intel.com> * opts.c (common_handle_option): Fix OPT_fwhopr/fwhopr_* handling. From-SVN: r163759
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/opts.c6
2 files changed, 9 insertions, 1 deletions
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 <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.
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;