aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-01-17 15:36:31 -0500
committerJason Merrill <jason@gcc.gnu.org>2019-01-17 15:36:31 -0500
commitf18aa3a4078f83540903c5d1f5c4ad0e25597ab1 (patch)
tree5a6852032534ed4ce9f9e1915acde44e905f4037 /gcc/testsuite/gcc.dg/utf-array-short-wchar.c
parentba29ed0f57b5005586e49d40aaec55d943caff61 (diff)
downloadgcc-f18aa3a4078f83540903c5d1f5c4ad0e25597ab1.zip
gcc-f18aa3a4078f83540903c5d1f5c4ad0e25597ab1.tar.gz
gcc-f18aa3a4078f83540903c5d1f5c4ad0e25597ab1.tar.bz2
PR c++/86740, ICE with constexpr if and nested generic lambdas.
When we partially instantiate the constexpr if, we walk through its body to see what it uses from the enclosing local_specializations. That walk was overlooking the use of 'count' in the captures of the innermost lambda, because we weren't walking into the capture list. * tree.c (cp_walk_subtrees): Handle LAMBDA_EXPR. From-SVN: r268046
Diffstat (limited to 'gcc/testsuite/gcc.dg/utf-array-short-wchar.c')
0 files changed, 0 insertions, 0 deletions