decl2.c (coerce_new_type, [...]): Add location_t parameter and adjust error_at calls.
authorPaolo Carlini <paolo@gcc.gnu.org>
Tue, 12 Jun 2018 21:23:27 +0000 (21:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 12 Jun 2018 21:23:27 +0000 (21:23 +0000)
commit3791aece55c4895ec0f11776ed370546d7dbe236
treea5d470e76eaac69344f3368b09b1dbd80efc1a70
parent2d10ccaa001ba9cb367ee8d8d34512454d6bb293
decl2.c (coerce_new_type, [...]): Add location_t parameter and adjust error_at calls.

/cp
2018-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

* decl2.c (coerce_new_type, coerce_delete_type): Add location_t
parameter and adjust error_at calls.
* decl.c (grok_op_properties): Adjust calls.
* cp-tree.h (oerce_new_type, coerce_delete_type): Adjust decls.

/testsuite
2018-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/init/delete3.C: New.
* g++.dg/init/new49.C: Likewise.
* g++.dg/init/new25.C: Test locations too.
* g++.dg/template/new4.C: Likewise.
* g++.old-deja/g++.jason/operator.C: Likewise.

From-SVN: r261528
gcc/testsuite/ChangeLog