[Bug libgcj/10610] [powerpc-linux] 230 testsuite failures due to alignment errors
andreast at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 06:24: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-24 06:16 -------
The patchlet in the attachment does not help since it aligns the aligned bytes
and not the so called misaligned stack.
Here a snippet from gdb:
Breakpoint 1, ffi_prep_args_SYSV (ecif=0x7ffff470, stack=0x7ffff428)
at ../../../gcc/libffi/src/powerpc/ffi.c:126
126 FFI_ASSERT(((unsigned long)(char *)stack & 0xF) == 0);
1: x/i $pc 0xfcf5668 <ffi_prep_args_SYSV+152>: andi. r11,r4,15
Current language: auto; currently c
(gdb) p ((unsigned long)(char *)stack & 0xF) == 0
$16 = 0
(gdb) p ((unsigned long)(char *)stack & 0x7) == 0
$18 = 1
So I'm investigating here....
More information about the Gcc-bugs
mailing list