2015-06-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
commit5c874cd3e4f1d32cc72a9e2b09e7559fe46d5854
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 2015 19:23:20 +0000 (3 19:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 2015 19:23:20 +0000 (3 19:23 +0000)
tree8c52823d6a36b1409914c63e7e541f67d8c6a56d
parentc38e3437ac715e7b7bd510e67c67b2dbb395a9da
2015-06-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/66130
* typeck.c (invalid_nonstatic_memfn_p): Add location_t parameter and
use it in the diagnostic.
(decay_conversion): Adjust call.
* semantics.c (finish_decltype_type): Likewise.
* call.c (resolve_args, build_new_op_1,
perform_implicit_conversion_flags): Adjust calls.
* cvt.c (ocp_convert, convert_to_void): Likewise.
* cp-tree.h (invalid_nonstatic_memfn_p): Update declaration.

2015-06-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/66130
* g++.dg/other/pr66130.C: New.
* g++.dg/cpp0x/pr66130.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224099 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr66130.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/pr66130.C [new file with mode: 0644]