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

PATCH: ABI conformance testsuite


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


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