diff options
| author | Nathaniel Shead <nathanieloshead@gmail.com> | 2025-10-26 20:32:10 +1100 |
|---|---|---|
| committer | Nathaniel Shead <nathanieloshead@gmail.com> | 2025-10-28 10:45:51 +1100 |
| commit | 6a2e0ea5acfb88250ab78785456043f941f27ec2 (patch) | |
| tree | ebfb30b215c19607d6350a466d4d39fe3fa49cb5 /contrib/gcc-changelog/git_commit.py | |
| parent | 8212abbeffa69f143808e126f40c67f3eb7e7844 (diff) | |
| download | gcc-6a2e0ea5acfb88250ab78785456043f941f27ec2.zip gcc-6a2e0ea5acfb88250ab78785456043f941f27ec2.tar.gz gcc-6a2e0ea5acfb88250ab78785456043f941f27ec2.tar.bz2 | |
c++/modules: Propagate type of array with deduced size to its template [PR122422]
This is the same issue as solved in r16-1759-g98fd493db6216c for auto,
but this time for arrays with size deduced from their initializers.
PR c++/122422
gcc/cp/ChangeLog:
* decl.cc (maybe_deduce_size_from_array_init): Propagate type to
corresponding TEMPLATE_DECL.
gcc/testsuite/ChangeLog:
* g++.dg/modules/merge-20.h: New test.
* g++.dg/modules/merge-20_a.H: New test.
* g++.dg/modules/merge-20_b.C: New test.
Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions
