aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-05-29 16:55:52 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:09:23 -0300
commitf305283bbf9a1da4f620b5cffeec8cb74d69234a (patch)
tree44cf553893d5130a13081d99917f2735bf2c7cce /gcc/gimple-array-bounds.cc
parent8ff4ba3c6f8254de1b85dae79dd4e71d9eb3c8f7 (diff)
downloadgcc-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