re PR c++/79290 (forming pointer to member function tries to access "__pfn")
authorNathan Sidwell <nathan@acm.org>
Tue, 31 Jan 2017 19:37:11 +0000 (19:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 31 Jan 2017 19:37:11 +0000 (19:37 +0000)
commit5ae37bdfce3f433ff51af4d614d9271abb25671f
tree3295b47e768a4552396538ce3c58c82122b156ca
parent0751254a759314c114e51b47536d2c8feb0fbcea
re PR c++/79290 (forming pointer to member function tries to access "__pfn")

PR c++/79290
* typeck.c (build_ptrmemfunc_access_expr): Set TREE_NO_WARNING.

PR c++/79290
* g++.dg/warn/pr79290.C: New.

From-SVN: r245069
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr79290.C [new file with mode: 0644]