8sa1-gcc/gcc/testsuite
Nathan Sidwell 07fa487859 cp-tree.h (THUNK_TARGET): New macro.
cp:
	* cp-tree.h (THUNK_TARGET): New macro.
	(THUNK_VIRTUAL_OFFSET): For result thunks it is always a binfo.
	(finish_thunk): Remove offset parms.
	* class.c (find_final_overrider): Look through thunks.
	(get_vcall_index): Use THUNK_TARGET.
	(update_vtable_entry_for_fn): Look through thunks. Set covariant
	fixed offset here. Adjust finish_thunk call.
	(build_vtbl_initializer): Adjust finish_thunk calls.
	* mangle.c (mangle_call_offset): Remove superfluous if.
	(mangle_thunk): Adjust.
	* method.c (make_thunk): Adjust.
	(finish_thunk): Adjust.
	(thunk_adjust): Remove assert.
	(use_thunk): Use THUNK_TARGET
	* dump1.c (cp_dump_tree): Adjust thunk dumping.
testsuite:
	* g++.dg/inherit/covariant5.C: New test.
	* g++.dg/inherit/covariant6.C: New test.
	* g++.dg/inherit/covariant7.C: New test.

From-SVN: r60628
2002-12-30 13:39:48 +00:00
..
config
consistency.vlad * consistency.vlad/layout/endian.c: Include string.h. 2002-08-05 21:19:32 +02:00
g77.dg profopt.exp (profopt-cleanup): New argument TESTCASE. 2002-10-21 20:21:00 +00:00
g77.f-torture ChangeLog: follow spelling conventions. 2002-09-16 13:29:51 +00:00
g++.dg cp-tree.h (THUNK_TARGET): New macro. 2002-12-30 13:39:48 +00:00
g++.old-deja anon-struct.C: No longer fails 2002-12-29 15:13:12 +00:00
gcc.c-torture new1.C, [...]: Add tests previously added only to 3.1 or 3.2 branch. 2002-12-24 19:08:41 +00:00
gcc.dg stor-layout.c (update_alignment_for_field): Correct handling of unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines. 2002-12-23 16:39:36 +00:00
gcc.misc-tests profopt.exp (profopt-cleanup): New argument TESTCASE. 2002-10-21 20:21:00 +00:00
lib Only invoke testsuite_flags if the libstdc++-v3 directory has been found. 2002-12-18 15:50:40 +00:00
objc Removed - the testcase should not pass 2002-09-06 15:49:47 +00:00
objc.dg New tests for ObjC typechecking 2002-09-17 14:00:15 +00:00
treelang
ChangeLog cp-tree.h (THUNK_TARGET): New macro. 2002-12-30 13:39:48 +00:00
README
README.compat README: Describe new compat directory. 2002-10-18 00:22:58 +00:00
README.g++
README.gcc
README.QMTEST README.QMTEST: Fix typo. 2002-09-26 19:49:48 +00:00

This is a collection of tests for the C and C++ frontends of GCC. For
further information please check README.gcc and README.g++, though the
latter may not be up-to-date any more.

The driver that runs this testsuite is called DejaGnu and you will
need a current DejaGnu snapshot, which is available from
ftp://gcc.gnu.org/pub/gcc/infrastructure, for example.

Most of these tests were originally developed and/or collected by
Cygnus Solutions, but these days many are being added by the GCC
developers.

These tests are included "as is". If any of them fails, do not report
a bug.  Bug reports for DejaGnu can go to bug-dejagnu@prep.ai.mit.edu.
Discussion and comments about this testsuite should be sent to
gcc@gcc.gnu.org; additions and changes to should go to sent to
gcc-patches@gcc.gnu.org.

The entire testsuite is invoked by `make check` at the top level of
the GCC tree. `make check-g++` runs the C++ testsuite only.


STRUCTURE OF THE TESTSUITE

Almost all C++ tests reside in subdirectories of g++.old-deja, based on
the following structure:

  g++.benjamin	Tests by Benjamin Koz
  g++.bob
  g++.brendan	Tests by Brendan Kehoe
  g++.bugs
  g++.eh  	Tests for exception handling
  g++.ext  	Tests for g++ extensions
  g++.gb  	Tests by Gerald Baumgartner
  g++.jason	Tests by Jason Merill
  g++.jeff	Tests by Jeffrey A Law
  g++.martin	Tests by Martin v. Löwis
  g++.mike	Tests by Mike Stump
  g++.niklas	Tests by Niklas Hallqvist
  g++.ns  	Tests for namespaces
  g++.other
  g++.pt  	Tests for templates
  g++.rfg
  g++.robertl	Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe
	
g++.old-deja uses a fixed driver for all g++ tests based on the old
DejaGnu drivers. But just because its old, doesn't mean its redundant!
Tests that want to use the normal dg.exp driver can be put in g++.dg instead.
This may be required for platform-specific tests, or tests with other
special requirements.