diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-03-31 05:25:08 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-03-31 16:25:08 +1100 |
commit | b5e3caf232fa9ffad95564b1ed174c9aefd51213 (patch) | |
tree | e3bdce8103ad8f9fe7c73b636b59aa2aa8eab8f7 /gcc/config/rs6000 | |
parent | 3759634f3208cbc1226bec19d22cbff989a287c3 (diff) | |
download | gcc-b5e3caf232fa9ffad95564b1ed174c9aefd51213.zip gcc-b5e3caf232fa9ffad95564b1ed174c9aefd51213.tar.gz gcc-b5e3caf232fa9ffad95564b1ed174c9aefd51213.tar.bz2 |
re PR target/31635 (-mno-vrsave ignored on ppc64)
PR target/31635
* config/rs6000/rs6000.c (rs6000_handle_option): Handle
OPT_mvrsave.
From-SVN: r145332
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 17622c2..eabcc86 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)); |