rs6000.c rs6000_stack_info() duplication patch
Seth Arnold
sarnold@wirex.com
Mon May 19 19:52:00 GMT 2003
I've attached a patch to gcc/config/rs6000/rs6000.c.
rs6000_stack_info() computes a value for info_ptr->save_size, but it
includes info_ptr->vrsave_size twice in the calulation. This untested
patch removes that duplication.
This patch was generated against the top-of-tree rs6000.c from cvsweb.
Similar code exists in gcc 3.2.3 release as packaged by Debian.
Thanks!
--
Outlook users: please do not put my email address in your address book.
This way, when you get infected with a virus, my address won't appear in
the From: header. Thanks.
-------------- next part --------------
--- rs6000.c.orig Mon May 19 11:45:16 2003
+++ rs6000.c Mon May 19 11:45:24 2003
@@ -10035,7 +10035,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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030519/ab97126f/attachment.sig>
More information about the Gcc-patches
mailing list