gcc/gcc/testsuite
Ollie Wild af92ab368a name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
* name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
	(select_decl): Remove function.
	(unqualified_namespace_lookup): Populate binding by calling
	ambiguous_decl.  Remove select_decl call.
	(lookup_qualified_name): Remove select_decl call.
	* decl.c (lookup_and_check_tag): Check for ambiguous references.
	* parser.c (cp_parser_elaborated_type_specifier): Skip redundant error
	generation when name lookup is ambiguous.

	* g++.dg/lookup/using16.C: New test.
	* g++.dg/lookup/using17.C: New test.

From-SVN: r126177
2007-07-01 20:49:29 +00:00
..
ada/acats
config
g++.dg name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
g++.old-deja
gcc.c-torture 20051113-1.c (main): Use the correct type when allocating and initializing a flexible array. 2007-06-30 17:40:45 +00:00
gcc.dg vect-strided-store-u16-i4.c: Remove abort() from input initialization and fix dg-final check - the... 2007-07-01 11:52:45 +00:00
gcc.misc-tests
gcc.target re PR tree-optimization/24659 (Conversions are not vectorized) 2007-06-29 12:30:06 +02:00
gcc.test-framework
gfortran.dg re PR fortran/32554 ([4.2 Only] Bug in P formatting) 2007-07-01 15:49:37 +00:00
gfortran.fortran-torture re PR fortran/32239 (optimize power in loops, use __builtin_powi instead of _gfortran_pow_r4_i4) 2007-07-01 19:24:38 +03:00
gnat.dg Add new tests 2007-06-15 10:27:59 +02:00
lib
obj-c++.dg
objc
objc.dg
treelang
ChangeLog name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
ChangeLog.ptr [multiple changes] 2007-06-15 22:42:36 -07:00
ChangeLog.tree-ssa ChangeLog: Strip testsuite/ from file names. 2007-06-20 09:43:43 +02:00
README
README.QMTEST
README.compat
README.gcc

README

This is a collection of tests for GCC. For further information about
the C testsuite, see README.gcc.

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.

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@gnu.org.
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 G++ TESTSUITE

  g++.dg tests:

  All new tests should be placed in an appropriate subdirectory of g++.dg.

  g++.old-deja tests:

  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
	
Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on
how to run tests (in the GCC 2.7 era):

	runtest --tool g++ --srcdir ./testsuite

where 

	runtest	Is the name used to invoke DejaGnu.   If DejaGnu is not
		install this will be the relative path name for runtest.

	--tool	This tells DejaGnu which tool you are testing. It is
		mainly used to find the testsuite directories for a
		particular tool when several testsuites are in the
		same directory. (like the gcc and g++ testsuites)

	--srcdir This points to the top level of the directory
		containing the sources of the testsuite. This is
		./testsuite if you are in the directory that has the
		testsuite directory.