re PR c++/49043 ([OpenMP & C++0x]: Compiler error when lambda-function within OpenMP...
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 May 2011 13:11:56 +0000 (15:11 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 May 2011 13:11:56 +0000 (15:11 +0200)
commitea93a47bc825a409079665551203aa194e71fc18
tree8a93ed0f8e4aefee902ff63a0c36dfb80398207e
parent5ee093edf0ff049ece01649376c1b2975e0371f2
re PR c++/49043 ([OpenMP & C++0x]: Compiler error when lambda-function within OpenMP loop)

PR c++/49043
* decl.c (check_omp_return): Stop searching on sk_function_parms.

* testsuite/libgomp.c++/pr49043.C: New test.

From-SVN: r173907
gcc/cp/ChangeLog
gcc/cp/decl.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr49043.C [new file with mode: 0644]