[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 27 22:52:43 GMT 2022


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 <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:0096b0b467b2c98ed258f0ead9a8b87b2a6d8466

commit r12-7398-g0096b0b467b2c98ed258f0ead9a8b87b2a6d8466
Author: Jason Merrill <jason@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.


More information about the Gcc-bugs mailing list