This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: ABI conformance testsuite
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: ABI conformance testsuite
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Wed, 6 Jun 2001 00:23:20 +0200 (MEST)
While working on an IRIX 6 ABI conformance problem, I turned the tests
originally submitted in
http://gcc.gnu.org/ml/gcc-patches/1999-06n/msg00544.html
(as struct-test.tar.gz attachment) into the beginnings of an ABI
conformance testsuite within the DejaGnu framework. This is certainly not
appropriate for inclusion in 3.0, as it doesn't support cross-compilation
yet, doesn't detect and set non-default (multilib or other) flags on the
native compiler, and lacks lots of error checking. (My knowledge of tcl is
close to zero, and this is only my second step into the gcc testing
framework :-)
Anyway, besides giving a regression test for my ABI work on IRIX, it found
another ABI conformance bug on Tru64 UNIX V5.1 (long double arguments to
varargs functions are passed by reference, but alpha.c (alpha_va_arg)
doesn't take this into consideration ;-( I'm just bootstrapping with a
patch that fixes the ABI testsuite failures.
Anyway, here it goes. Comments, suggestions, etc. welcome.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
Sun Jun 3 13:35:01 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.dg/abi: New directory.
abi.tar.gz