diff options
author | Jason Merrill <jason@redhat.com> | 2024-01-19 13:11:05 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-01-19 14:21:14 -0500 |
commit | 1338ad23ff3c1e4f552cdb64e36cef12eda2e050 (patch) | |
tree | 11e50fb75079322dde048e94244537796430878a /README | |
parent | 631a922e5c8578a1c878b69f1651d482b661ef4a (diff) | |
download | gcc-1338ad23ff3c1e4f552cdb64e36cef12eda2e050.zip gcc-1338ad23ff3c1e4f552cdb64e36cef12eda2e050.tar.gz gcc-1338ad23ff3c1e4f552cdb64e36cef12eda2e050.tar.bz2 |
c++: requires and using-decl [PR113498]
get_template_info was crashing because it assumed that any decl with
DECL_LANG_SPECIFIC could use DECL_TEMPLATE_INFO. It's more complicated than
that.
PR c++/113498
gcc/cp/ChangeLog:
* pt.cc (decl_template_info): New fn.
(get_template_info): Use it.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/concepts-using4.C: New test.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions