gcc/libcc1
Paolo Carlini 04e4997a56 decl2.c (delete_sanity): Add location_t parameter and use it throughout.
/gcc/cp
2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

	* decl2.c (delete_sanity): Add location_t parameter and use
	it throughout.
	* init.c (build_vec_delete_1): Likewise.
	(build_delete): Likewise.
	(build_vec_delete): Likewise.
	(perform_target_ctor): Adjust call.
	(perform_member_init): Likewise.
	(build_vec_init): Likewise.
	* decl.c (cxx_maybe_build_cleanup): Likewise.
	* pt.c (tsubst_copy_and_build): Likewise.
	* parser.c (cp_parser_delete_expression): Likewise, pass the
	combined_loc.
	* cp-tree.h: Update declarations.

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

	* libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
	call.

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

	* g++.dg/init/delete1.C: Check locations too.
	* g++.dg/ipa/pr85607.C: Likewise.
	* g++.dg/warn/Wdelete-incomplete-1.C: Likewise.
	* g++.dg/warn/delete-non-virtual-dtor.C: Likewise.
	* g++.dg/warn/incomplete1.C: Likewise.

From-SVN: r279768
2019-12-30 13:23:40 +00:00
..
ChangeLog decl2.c (delete_sanity): Add location_t parameter and use it throughout. 2019-12-30 13:23:40 +00:00
Makefile.am Update copyright years. 2019-01-01 13:31:55 +01:00
Makefile.in
aclocal.m4
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 decl2.c (delete_sanity): Add location_t parameter and use it throughout. 2019-12-30 13:23:40 +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