diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-29 16:55:52 -0400 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:09:23 -0300 |
commit | f305283bbf9a1da4f620b5cffeec8cb74d69234a (patch) | |
tree | 44cf553893d5130a13081d99917f2735bf2c7cce /gcc/gimple-array-bounds.cc | |
parent | 8ff4ba3c6f8254de1b85dae79dd4e71d9eb3c8f7 (diff) | |
download | gcc-f305283bbf9a1da4f620b5cffeec8cb74d69234a.zip gcc-f305283bbf9a1da4f620b5cffeec8cb74d69234a.tar.gz gcc-f305283bbf9a1da4f620b5cffeec8cb74d69234a.tar.bz2 |
c++: Template template parameter in constraint [PR95371]
any_template_parm_r was assuming that the DECL_TEMPLATE_RESULT of a template
will have a suitable TEMPLATE_INFO from which we can look at the generic
arguments for that template. But that wasn't true for a template template
parameter; this patch makes it so.
gcc/cp/ChangeLog:
PR c++/95371
* pt.c (process_template_parm): Set DECL_TEMPLATE_INFO
on the DECL_TEMPLATE_RESULT.
gcc/testsuite/ChangeLog:
PR c++/95371
* g++.dg/cpp2a/concepts-ttp1.C: New test.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions