gcc/libcc1
Paolo Carlini ad774d0d63 typeck2.c (build_functional_cast): Add location_t parameter and use it.
/gcc/cp
2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* typeck2.c (build_functional_cast): Add location_t parameter
	and use it.
	* cp-tree.h: Update declaration.
	* parser.c (cp_parser_functional_cast): Adjust call.
	* call.c (build_op_delete_call): Likewise.
	(build_new_method_call_1): Likewise.
	* decl.c (check_initializer): Likewise.
	* pt.c (tsubst_copy_and_build): Likewise.
	* semantics.c (finish_compound_literal): Likewise.

/libcc1
2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
	build_functional_cast call.

/testsuite
2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/diagnostic/functional-cast-to-array-type-1.C: New.
	* g++.dg/cpp0x/auto25.C: Check location(s) too.
	* g++.dg/cpp0x/auto28.C: Likewise.
	* g++.dg/init/reference2.C: Likewise.
	* g++.dg/parse/template2.C: Likewise.
	* g++.dg/template/error8.C: Likewise.
	* g++.old-deja/g++.ns/crash3.C: Likewise.
	* g++.old-deja/g++.ns/template7.C: Likewise.
	* g++.old-deja/g++.pt/crash8.C: Likewise.

From-SVN: r278987
2019-12-05 08:59:24 +00:00
..
ChangeLog typeck2.c (build_functional_cast): Add location_t parameter and use it. 2019-12-05 08:59:24 +00:00
Makefile.am Update copyright years. 2019-01-01 13:31:55 +01:00
Makefile.in Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
callbacks.cc Update copyright years. 2019-01-01 13:31:55 +01:00
callbacks.hh Update copyright years. 2019-01-01 13:31:55 +01:00
cc1plugin-config.h.in
compiler-name.hh Update copyright years. 2019-01-01 13:31:55 +01:00
configure Regenerate `configure' scripts for `uclinuxfdpiceabi' libtool.m4 update 2019-09-27 21:24:42 +00:00
configure.ac Update copyright years. 2019-01-01 13:31:55 +01:00
connection.cc Update copyright years. 2019-01-01 13:31:55 +01:00
connection.hh Update copyright years. 2019-01-01 13:31:55 +01:00
findcomp.cc Update copyright years. 2019-01-01 13:31:55 +01:00
findcomp.hh Update copyright years. 2019-01-01 13:31:55 +01:00
libcc1.cc Update copyright years. 2019-01-01 13:31:55 +01:00
libcc1.sym
libcc1plugin.cc Update copyright years. 2019-01-01 13:31:55 +01:00
libcc1plugin.sym
libcp1.cc Update copyright years. 2019-01-01 13:31:55 +01:00
libcp1plugin.cc typeck2.c (build_functional_cast): Add location_t parameter and use it. 2019-12-05 08:59:24 +00:00
libcp1plugin.sym
marshall-c.hh Update copyright years. 2019-01-01 13:31:55 +01:00
marshall-cp.hh Update copyright years. 2019-01-01 13:31:55 +01:00
marshall.cc Update copyright years. 2019-01-01 13:31:55 +01:00
marshall.hh Update copyright years. 2019-01-01 13:31:55 +01:00
names.cc Update copyright years. 2019-01-01 13:31:55 +01:00
names.hh Update copyright years. 2019-01-01 13:31:55 +01:00
rpc.hh Update copyright years. 2019-01-01 13:31:55 +01:00
status.hh Update copyright years. 2019-01-01 13:31:55 +01:00