cvt.c (cp_fold_convert): Use convert_ptrmem.
authorJason Merrill <jason@redhat.com>
Fri, 27 Apr 2018 17:09:17 +0000 (13:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 Apr 2018 17:09:17 +0000 (13:09 -0400)
commitd760b06868d660bc4b934caf64d2e0a5e69193d1
tree584dba85331764d45d1a70a628643945b8bab7e9
parenta6e34898d1e8920cc68d2089e45434c9703a77d0
cvt.c (cp_fold_convert): Use convert_ptrmem.

* cvt.c (cp_fold_convert): Use convert_ptrmem.

* typeck.c (convert_ptrmem): Add a NOP even if no adjustment.

From-SVN: r259717
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/typeck.c