This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] libffi aix/darwin


Hello,

last time I deleted a bit too much.

When FFI_DEBUG is on, I get an undeclared 'bytes'

ok for mainline?

Andreas

2003-10-19 Andreas Tobler <a.tobler@schweiz.ch>

	* src/powerpc/ffi_darwin.c (ffi_prep_args): Declare 'bytes'
	again. Used when FFI_DEBUG = 1.


Index: src/powerpc/ffi_darwin.c =================================================================== RCS file: /cvs/gcc/gcc/libffi/src/powerpc/ffi_darwin.c,v retrieving revision 1.9 diff -u -r1.9 ffi_darwin.c --- src/powerpc/ffi_darwin.c 18 Sep 2003 19:35:46 -0000 1.9 +++ src/powerpc/ffi_darwin.c 19 Oct 2003 15:01:51 -0000 @@ -81,6 +81,7 @@ void ffi_prep_args(extended_cif *ecif, unsigned *const stack) /*@=exportheader@*/ { + const unsigned bytes = ecif->cif->bytes; const unsigned flags = ecif->cif->flags;

/* 'stacktop' points at the previous backchain pointer. */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]