This is the mail archive of the gcc-bugs@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]

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


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....


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