This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
objc PATCH: fix thinko in previous change
- To: gcc-patches at gcc dot gnu dot org
- Subject: objc PATCH: fix thinko in previous change
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 17 Mar 2000 13:53:19 -0800
- Organization: CodeSourcery, LLC
This change:
Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
had an error that broke the x86-linux-gnu bootstrap.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2000-03-17 Mark Mitchell <mark@codesourcery.com>
* objc/objc-act.c (encode_method_prototype): Pass types, not
PARM_DECLs, to int_size_in_bytes.
Index: objc-act.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/objc/objc-act.c,v
retrieving revision 1.40
diff -c -p -r1.40 objc-act.c
*** objc-act.c 2000/03/17 17:31:57 1.40
--- objc-act.c 2000/03/17 21:40:11
*************** encode_method_prototype (method_decl, fu
*** 2836,2842 ****
parms = TREE_CHAIN (parms))
{
HOST_WIDE_INT parm_end = (forwarding_offset (parms)
! + int_size_in_bytes (parms));
if (!offset_is_register && max_parm_end < parm_end)
max_parm_end = parm_end;
--- 2836,2842 ----
parms = TREE_CHAIN (parms))
{
HOST_WIDE_INT parm_end = (forwarding_offset (parms)
! + int_size_in_bytes (TREE_TYPE (parms)));
if (!offset_is_register && max_parm_end < parm_end)
max_parm_end = parm_end;