gcc/gcc/testsuite
Jason Merrill 4ad610c978 re PR c++/37208 (C++0x deleted functions and SFINAE)
PR c++/37208
        * call.c (build_over_call): Make =delete work with SFINAE.
        * class.c (resolve_address_of_overloaded_function): Likewise.

        * cp-tree.h (struct lang_decl_flags): Rename threadprivate_p to
        threadprivate_or_deleted_p.
        (CP_DECL_THREADPRIVATE_P): Adjust.
        (DECL_DELETED_FN): Likewise.
        (SD_UNINITIALIZED, SD_INITIALIZED, SD_DEFAULTED): New macros.
        (SD_DELETED): New macro.
        * parser.c (cp_parser_init_declarator): Use them.
        * decl.c (start_decl): Use them.

        * decl2.c (mark_used): Give =deleted error even in sizeof.

        * typeck2.c (check_narrowing): Downgrade narrowing error to
        permerror.

From-SVN: r139926
2008-09-03 00:10:27 -04:00
..
ada/acats
config
g++.dg re PR c++/37208 (C++0x deleted functions and SFINAE) 2008-09-03 00:10:27 -04:00
g++.old-deja re PR c++/34485 (ICE with undefined type in template parameter) 2008-08-14 19:04:05 +00:00
gcc.c-torture pr33009.c: xfail on hppa*-*-*. 2008-09-02 23:43:21 +00:00
gcc.dg backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
gcc.misc-tests MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
gcc.target i386.c (X86_64_VARARGS_SIZE): Removed. 2008-09-02 21:49:41 +02:00
gcc.test-framework sourcebuild.texi (Test Directives): Add dg-xfail-run-if. 2008-05-21 18:03:32 +00:00
gfortran.dg backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
gfortran.fortran-torture tree-ssa-structalias.c (create_variable_info_for): Do not create fields for heap vars or vars with a noalias state. 2008-08-29 11:47:01 +00:00
gnat.dg * gnat.dg/div_no_warning.adb: New test. 2008-08-20 17:02:41 +02:00
lib backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
obj-c++.dg MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
objc libgomp.exp: Load torture-options.exp from gcc lib. 2008-05-15 16:59:21 +00:00
objc.dg re PR testsuite/36443 (HOSTCC doesn't work with installed gcc) 2008-07-16 22:13:27 -07:00
ChangeLog pr33009.c: xfail on hppa*-*-*. 2008-09-02 23:43:21 +00:00
ChangeLog-1993-2007 Fix my email address. 2008-08-12 06:57:53 +00:00
ChangeLog.ptr
ChangeLog.tree-ssa
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.