This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Jan 31 19:37:11 2017
New Revision: 245069

URL: https://gcc.gnu.org/viewcvs?rev=245069&root=gcc&view=rev
Log:
        PR c++/79290
        * typeck.c (build_ptrmemfunc_access_expr): Set TREE_NO_WARNING.

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

Added:
    trunk/gcc/testsuite/g++.dg/warn/pr79290.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]