re PR c++/17867 ("void" instead of class name in error message)
authorMark Mitchell <mark@codesourcery.com>
Sun, 10 Oct 2004 05:02:54 +0000 (05:02 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 10 Oct 2004 05:02:54 +0000 (05:02 +0000)
commit17a27b4f0c4ce1f151263c1919dba4fd2231eedc
treec79be0800daaa4e6c1647924399c5e22fb0b7902
parentc69c9b36a97fddbde2112a5f8d50a4aabe13a19a
re PR c++/17867 ("void" instead of class name in error message)

PR c++/17867
* error.c (dump_expr): Correct handling of AGGR_INIT_EXPRs using a
constructor.

PR c++/17670
* init.c (build_new): Correct comments.
* parser.c (cp_parser_new_expression): Use NULL_TREE for nelts in
the non-array case.

PR c++/17821
* parser.c (cp_parser_postfix_dot_deref_expression): If the
pseduo-destructor-name production does not work, fall back to the
ordinary production.

PR c++/17826
* tree.c (cp_tree_equal): Handle a BASELINK.

PR c++/17687
* g++.dg/parse/error19.C: New test.

PR c++/17670
* g++.dg/init/new11.C: New test.

PR c++/17821
* g++.dg/parse/error20.C: New test.

PR c++/17826
* g++.dg/template/crash24.C: New test.

From-SVN: r88836
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/parser.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/new11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error19.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error20.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/crash24.C [new file with mode: 0644]