This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/5991: [IA64] Structure argument passing broken
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-gnats at gcc dot gnu dot org
- Date: Sun, 17 Mar 2002 22:54:27 +0100
- Subject: target/5991: [IA64] Structure argument passing broken
>Number: 5991
>Category: target
>Synopsis: [IA64] Structure argument passing broken
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sun Mar 17 13:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.1 20020311 (prerelease)
>Organization:
>Environment:
System: Linux sykes 2.4.18-SMP #1 SMP Sat Mar 2 18:52:42 UTC 2002 ia64 unknown
Architecture: ia64
host: ia64-suse-linux-gnu
build: ia64-suse-linux-gnu
target: ia64-suse-linux-gnu
configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared ia64-suse-linux
>Description:
Passing bigger structures as arguments is broken.
>How-To-Repeat:
$ gcc struct.c
$ ./a.out
n = -1
t.c_iflag = 0
t.c_oflag = 1
t.c_cflag = 2
t.c_lflag = 3
t.c_line = 4
t.c_cc = {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36}
t.c_ispeed = 37
t.c_ospeed = 252579084
tp = 1b1a191817161514
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: