[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Nathan Sidwell --- Fixed r245069.
[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 --- Author: nathan Date: Tue Jan 31 19:37:11 2017 New Revision: 245069 URL: https://gcc.gnu.org/viewcvs?rev=245069=gcc=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
[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|--- |7.0
[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 #2 from Jonathan Wakely --- I forgot to provide the error. For completeness, it's: s.cc: In member function ‘bool Printer::operator()(SongTag)’: s.cc:16:36: error: request for member ‘int (Song::*)(unsigned int) const::__pfn’ in ‘st.SongTag::function()’, which is of non-class type ‘Song::GetFunction {aka int (Song::*)(unsigned int) const}’ return st.function() == ::get; ^~~
[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-01-30 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1
[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Jonathan Wakely changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment #1 from Jonathan Wakely --- Looks like this was caused by r244833