diff options
author | Jason Merrill <jason@redhat.com> | 2019-02-11 18:05:16 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-02-11 18:05:16 -0500 |
commit | 0df9962aa8165580b1c61de81429ab6d3cde0b58 (patch) | |
tree | 5e4e8111e6e2ca8fa1e7e09392cf2dc585d544d9 /libcpp/macro.c | |
parent | ab97c3cdaf837637722237a4d1c33ddfdf6f7ee7 (diff) | |
download | gcc-0df9962aa8165580b1c61de81429ab6d3cde0b58.zip gcc-0df9962aa8165580b1c61de81429ab6d3cde0b58.tar.gz gcc-0df9962aa8165580b1c61de81429ab6d3cde0b58.tar.bz2 |
PR c++/89241 - ICE with __func__ in lambda in template.
When we're instantiating a generic lambda, its enclosing context will
have already been instantiated, so we need to look for that as well.
* pt.c (enclosing_instantiation_of): Also check
instantiated_lambda_fn_p for the template context.
From-SVN: r268784
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions