https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |8.5 Summary|C++17/20 mode fails to |[8/9/10/11 Regression] |recognise pointer-to-member |C++17/20 mode fails to |functions of incomplete |recognise pointer-to-member |types in conditional |functions of incomplete |expression |types in conditional | |expression Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org CC| |mpolacek at gcc dot gnu.org --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I suspect we can treat it as a regression then; g++-6 accepted the code even with -std=c++17. I think I have a patch.