gcc/gcc/testsuite
Gabriel Dos Reis fa72b06489 Fix PR/7363:
2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>

        Fix PR/7363:
        * c-common.c (c_sizeof_or_alignof_type): New function.
        (c_alignof): Remove definition.
        * c-common.h (c_sizeof, c_alignof): Define as macros.
        (c_sizeof_or_alignof_type): Declare.
        (my_friendly_assert): Moved from cp/cp-tree.h
        * c-typeck.c (c_sizeof): Remove definition.

cp/

2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>

        Fix PR/7363:
        * typeck.c (cxx_sizeof_or_alignof_type): New function.
        (c_sizeof): Remove definition.
        (expr_sizeof): Use cxx_sizeof.
        * decl2.c (build_expr_from_tree): Use cxx_sizeof_or_alignof_type.
        * decl.c (finish_destructor_body): Use cxx_sizeof.
        * semantics.c (finish_alignof): Likewise.
        (finish_alignof): Use cxx_alignof.
        * cp-tree.h (cxx_sizeof, cxx_alignof): New macros.
        (cxx_sizeof_or_alignof_type): Declare.
        (my_friendly_assert): Move to ../c-common.h.

From-SVN: r55678
2002-07-23 13:54:06 +00:00
..
config
consistency.vlad
g77.dg
g77.f-torture
g++.dg Fix PR/7363: 2002-07-23 13:54:06 +00:00
g++.old-deja PR c++/7347, c++/7348 2002-07-22 14:23:37 +00:00
gcc.c-torture simplify-rtx.c (simplify_relational_operation): Optimize abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math). 2002-07-20 22:24:58 +00:00
gcc.dg c-decl.c (build_compound_literal): Defer compound literal decls until until file end to emit them only if... 2002-07-22 12:11:16 +02:00
gcc.misc-tests configure.in (mips*-*-irix6*o32): Enable stabs. 2002-07-11 18:56:58 +00:00
lib varargs.h: Replace with stub which issues #error. 2002-07-16 02:16:47 +00:00
objc
objc.dg objc-act.c (adjust_type_for_id_default): Do not allow an object as parameter. 2002-07-02 16:06:04 -07:00
treelang
ChangeLog PR c++/7347, c++/7348 2002-07-22 14:23:37 +00:00
README
README.g++
README.gcc
README.QMTEST

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.