This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/10610] [powerpc-linux] 230 testsuite failures due to alignment errors
- From: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2003 06:16:14 -0000
- Subject: [Bug libgcj/10610] [powerpc-linux] 230 testsuite failures due to alignment errors
- References: <20030503070600.10610.doko@net.local>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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....