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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:69f04177fed0de2c5f121b7607b7b59d3ba93451

commit r13-8272-g69f04177fed0de2c5f121b7607b7b59d3ba93451
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Feb 1 16:54:39 2024 -0500

    c++: variable template array of unknown bound [PR113638]

    When we added variable templates, we didn't extend the
VAR_HAD_UNKNOWN_BOUND
    handling for class template static data members to handle them as well.

            PR c++/113638

    gcc/cp/ChangeLog:

            * cp-tree.h: Adjust comment.
            * pt.cc (instantiate_template): Set VAR_HAD_UNKNOWN_BOUND for
            variable template.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1y/var-templ-array1.C: New test.

    (cherry picked from commit 0b786ff38ab398087820d91241e030a28c451df9)

Reply via email to