This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: fix vrsave on 3.3 branch
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Jun 2003 06:27:55 -0400
- Subject: patch: fix vrsave on 3.3 branch
Committed to 3.3 branch. This fixes 10871. Bug closed.
Aldy
2003-06-01 Seth Arnold <sarnold@wirex.com>
Aldy Hernandez <aldyh@redhat.com>
PR10871
* config/rs6000/rs6000.c (rs6000_stack_info): Do not add
vrsave_size twice.
Index: config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.403.2.7
diff -u -r1.403.2.7 rs6000.c
--- config/rs6000/rs6000.c 25 Apr 2003 17:42:16 -0000
1.403.2.7
+++ config/rs6000/rs6000.c 1 Jun 2003 10:25:22 -0000
@@ -9299,7 +9299,6 @@
+ ehrd_size
+ info_ptr->cr_size
+ info_ptr->lr_size
- + info_ptr->vrsave_size
+ info_ptr->toc_size,
(TARGET_ALTIVEC_ABI ||
ABI_DARWIN)
? 16 : 8);