typeck.c (build_x_unary_op): Use the location_t argument in three error_at.
authorPaolo Carlini <paolo@gcc.gnu.org>
Tue, 29 Oct 2019 22:31:08 +0000 (22:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 29 Oct 2019 22:31:08 +0000 (22:31 +0000)
commit6c6a27379ca5d770a78ce98100ffdd4a31ba3c73
tree1566cce17695967fbd8a5a8b174f0a3d6fa2e360
parent1e2fa738e1c67c1ff7242de87a197403b35e8736
typeck.c (build_x_unary_op): Use the location_t argument in three error_at.

/cp
2019-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

* typeck.c (build_x_unary_op): Use the location_t argument in
three error_at.

/testsuite
2019-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/other/ptrmem8.C: Test locations too.
* g++.dg/template/dtor6.C: Likewise.

From-SVN: r277595
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/ptrmem8.C
gcc/testsuite/g++.dg/template/dtor6.C