r242376 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Nov 14 04:58:00 GMT 2016
Author: jason
Date: Mon Nov 14 04:58:45 2016
New Revision: 242376
URL: https://gcc.gnu.org/viewcvs?rev=242376&root=gcc&view=rev
Log:
Improve various diagnostic issues.
* call.c (build_new_method_call_1): Include template arguments in
error message.
(print_error_for_call_failure): Likewise.
(build_new_function_call): Pass them in.
* name-lookup.c (supplement_binding_1): Don't complain about a
conflict with an erroneous declaration.
* error.c (dump_decl): Fix printing of alias declaration.
* decl.c (make_typename_type): Call cxx_incomplete_type_error.
* parser.c (cp_parser_diagnose_invalid_type_name): Likewise.
* semantics.c (perform_koenig_lookup): Don't wrap an error in
TEMPLATE_ID_EXPR.
Modified:
trunk/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
trunk/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
Changes in other areas also in this revision:
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-56.C
trunk/gcc/testsuite/g++.dg/template/error56.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/error.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/g++.dg/template/crash7.C
trunk/gcc/testsuite/g++.dg/warn/forward-inner.C
trunk/gcc/testsuite/g++.old-deja/g++.other/decl5.C
More information about the Libstdc++-cvs
mailing list