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)
/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

index e69ab64178c782d7c510576fa31202d607e9e34e..72d8a6a84396d822596e9658e4c13173f27660cf 100644 (file)
@@ -1,3 +1,11 @@
+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.
+
 2018-06-12  Marek Polacek  <polacek@redhat.com>
 
        Core issue 1331 - const mismatch with defaulted copy constructor