https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88988
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 7 14:47:18 2019 New Revision: 268638 URL: https://gcc.gnu.org/viewcvs?rev=268638&root=gcc&view=rev Log: Backported from mainline 2019-01-30 Jakub Jelinek <ja...@redhat.com> PR c++/88988 * lambda.c (is_capture_proxy): Don't return true for DECL_OMP_PRIVATIZED_MEMBER artificial vars. * testsuite/libgomp.c++/pr88988.C: New test. Added: branches/gcc-8-branch/libgomp/testsuite/libgomp.c++/pr88988.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/lambda.c branches/gcc-8-branch/libgomp/ChangeLog