aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-02-01 16:54:39 -0500
committerJason Merrill <jason@redhat.com>2024-02-01 22:21:02 -0500
commit0b786ff38ab398087820d91241e030a28c451df9 (patch)
treeac3c59058e730f4a2719e30fddd80e881d97aef2 /gcc/cp/constexpr.cc
parente0701f8f7b6dcddb299eb5345e510cf9ea419150 (diff)
downloadgcc-0b786ff38ab398087820d91241e030a28c451df9.zip
gcc-0b786ff38ab398087820d91241e030a28c451df9.tar.gz
gcc-0b786ff38ab398087820d91241e030a28c451df9.tar.bz2
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.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions