diff options
author | Jason Merrill <jason@redhat.com> | 2024-02-01 16:54:39 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-02-01 22:21:02 -0500 |
commit | 0b786ff38ab398087820d91241e030a28c451df9 (patch) | |
tree | ac3c59058e730f4a2719e30fddd80e881d97aef2 /gcc/cp/constexpr.cc | |
parent | e0701f8f7b6dcddb299eb5345e510cf9ea419150 (diff) | |
download | gcc-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