This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] libffi aix/darwin
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 19 Oct 2003 17:06:55 +0200
- Subject: [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. */