OSDN Git Service

PR target/31635
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Mar 2009 05:25:08 +0000 (05:25 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Mar 2009 05:25:08 +0000 (05:25 +0000)
* config/rs6000/rs6000.c (rs6000_handle_option): Handle
OPT_mvrsave.

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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 3cad793..6c323f6 100644 (file)
@@ -1,3 +1,9 @@
+2009-03-31  Ben Elliston  <bje@au.ibm.com>
+
+       PR target/31635
+       * config/rs6000/rs6000.c (rs6000_handle_option): Handle
+       OPT_mvrsave.
+
 2009-03-31  Alan Modra  <amodra@bigpond.net.au>
 
        * doc/invoke.texi (RS/6000 and PowerPC Options):Document mtls-markers.
index 17622c2..eabcc86 100644 (file)
@@ -2326,6 +2326,11 @@ rs6000_handle_option (size_t code, const char *arg, int value)
       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));