From: bje Date: Tue, 31 Mar 2009 05:25:08 +0000 (+0000) Subject: PR target/31635 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09271b9d12c1f0cf1e8a74e254dca14510ef2644;p=thirdparty%2Fgcc.git PR target/31635 * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cad793ab19e..6c323f6d8229 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-03-31 Ben Elliston + + PR target/31635 + * config/rs6000/rs6000.c (rs6000_handle_option): Handle + OPT_mvrsave. + 2009-03-31 Alan Modra * doc/invoke.texi (RS/6000 and PowerPC Options):Document mtls-markers. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 17622c26f006..eabcc86a3cc4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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));