|
|
This patch corrects PR 31635. The problem was that -mvrsave and
-mno-vrsave were introduced to replace the deprecated -mvrsave=yes/no
option, but seemingly no code was added to rs6000_handle_option to
process them!
Bootstrapped and regtested. OK for the trunk, pending stage 1?
Ben
2009-03-27 Ben Elliston <bje@xxxxxxxxxx>
PR target/31635
* config/rs6000/rs6000.c (rs6000_handle_option): Process
OPT_mvrsave as well as OPT_mvrsave_.
Index: rs6000.c
===================================================================
--- rs6000.c (revision 145097)
+++ rs6000.c (working copy)
@@ -2326,6 +2326,11 @@
rs6000_explicit_options.aix_struct_ret = true;
break;
+ case OPT_mvrsave:
+ rs6000_explicit_options.vrsave = true;
+ TARGET_ALTIVEC_VRSAVE = value;
+ break;
+
case OPT_mvrsave_:
rs6000_explicit_options.vrsave = true;
rs6000_parse_yes_no_option ("vrsave", arg, &(TARGET_ALTIVEC_VRSAVE));
|
|