aboutsummaryrefslogtreecommitdiff
path: root/libcpp/macro.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-02-11 18:05:16 -0500
committerJason Merrill <jason@gcc.gnu.org>2019-02-11 18:05:16 -0500
commit0df9962aa8165580b1c61de81429ab6d3cde0b58 (patch)
tree5e4e8111e6e2ca8fa1e7e09392cf2dc585d544d9 /libcpp/macro.c
parentab97c3cdaf837637722237a4d1c33ddfdf6f7ee7 (diff)
downloadgcc-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