[Bug libgcj/10610] [powerpc-linux] 230 testsuite failures due to alignment errors

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 26 19:44:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10610



------- Additional Comments From andreast at gcc dot gnu dot org  2003-10-26 19:04 -------
The stack gets misagligned here:

void ffi_java_raw_call (/*@dependent@*/ ffi_cif *cif,
                   void (*fn)(),
                   /*@out@*/ void *rvalue,
                   /*@dependent@*/ ffi_raw *raw)
{   
  void **avalue = (void**) alloca (cif->nargs * sizeof (void*)); <------

Franz has a patch for this:
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02351.html

I tested it on mainline and 3.3.3, all, except one fails disapear.

The one which I have to investigate is:

FAIL: calls run with   FFI_ASSERT(copy_space >= (char *)next_arg);
 ffi.c:256



More information about the Gcc-bugs mailing list