8sa1-gcc/gcc/testsuite
Joseph Myers 9fa8f75dc9 c-common.c (decl_attributes): Don't allow strftime formats with first_arg_num nonzero.
* c-common.c (decl_attributes): Don't allow strftime formats with
	first_arg_num nonzero.
	(check_format_info): Set wanted_type and wanted_type_name to zero
	before they are possibly assigned and used.

testsuite:
	* gcc.dg/format-attr-1.c: New test.

From-SVN: r36845
2000-10-12 10:28:52 +01:00
..
config
g77.f-torture New test 2000-10-01 01:24:02 +00:00
g++.dg/special
g++.old-deja cond1.C, [...]: Update URLs of messages in list archives. 2000-10-07 23:42:11 +01:00
gcc.c-torture 20001011-1.c: New testcase. 2000-10-11 17:52:47 +00:00
gcc.dg c-common.c (decl_attributes): Don't allow strftime formats with first_arg_num nonzero. 2000-10-12 10:28:52 +01:00
gcc.misc-tests
lib
objc/execute Added. 2000-10-05 16:00:17 +00:00
ChangeLog c-common.c (decl_attributes): Don't allow strftime formats with first_arg_num nonzero. 2000-10-12 10:28:52 +01:00
README
README.g++
README.gcc

This is a collection of tests for the C and C++ frontends of EGCS. 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://egcs.cygnus.com/pub/egcs/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 EGCS
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 EGCS 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.