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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:b1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9

commit r12-6847-gb1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9
Author: Patrick Palka <ppa...@redhat.com>
Date:   Mon Jan 24 11:47:13 2022 -0500

    c++: Fix non-portable default argument of make_auto_1 [PR104197]

    Avoid using the macro current_template_depth, which expands to an
    expression that uses __FUNCTION__, within the signature of a function.

            PR c++/104197

    gcc/cp/ChangeLog:

            * pt.cc (make_auto_1): Use -1 as a placeholder default argument
            for level.

Reply via email to