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

--- Comment #3 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:0096b0b467b2c98ed258f0ead9a8b87b2a6d8466

commit r12-7398-g0096b0b467b2c98ed258f0ead9a8b87b2a6d8466
Author: Jason Merrill <ja...@redhat.com>
Date:   Fri Feb 25 15:26:17 2022 -0400

    c++: (*(fn))() [PR104618]

    The patch for PR90451 deferred marking to the point of actual use; we
missed
    this one because of the parens.

            PR c++/104618

    gcc/cp/ChangeLog:

            * typeck.cc (cp_build_addr_expr_1): Also
            maybe_undo_parenthesized_ref.

    gcc/testsuite/ChangeLog:

            * g++.dg/overload/paren1.C: New test.

Reply via email to