/cp
commita3659d8810509ccbc0cf9a79de55eb637ccf1761
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2018 21:23:27 +0000 (12 21:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2018 21:23:27 +0000 (12 21:23 +0000)
treea5d470e76eaac69344f3368b09b1dbd80efc1a70
parentb117e4de9a24b554bc6bd9aae9c1f2efd90edb3b
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261528 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog