https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104618
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:03e0c807ef50684cc1d49144948aa409decb91f9 commit r12-7528-g03e0c807ef50684cc1d49144948aa409decb91f9 Author: Jason Merrill <ja...@redhat.com> Date: Mon Feb 28 12:05:34 2022 -0400 c++: tweak to (*(fn))() patch [PR104618] Other callers of mark_single_function might also want to look through these wrapapers. PR c++/104618 gcc/cp/ChangeLog: * decl2.cc (mark_single_function): Look through parens and location wrapper. * typeck.cc (cp_build_addr_expr_1): Not here.