re PR c++/88988 (ICE: Segmentation fault (in lookup_name_real_1))
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 Jan 2019 23:28:53 +0000 (00:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 30 Jan 2019 23:28:53 +0000 (00:28 +0100)
commit8b44f8ec4b20bf22350e484bb49303a36085b0d5
treea61191a9badffefd029c7e7e1138b82d4c93e8e1
parent9c5365902aaee9033ed781bfc5e8147060e5b130
re PR c++/88988 (ICE: Segmentation fault (in lookup_name_real_1))

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.

From-SVN: r268407
gcc/cp/ChangeLog
gcc/cp/lambda.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr88988.C [new file with mode: 0644]