[Bug c++/49043] [OpenMP & C++0x]: Compiler error when lambda-function within OpenMP loop

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 19 13:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49043

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-19 13:12:02 UTC ---
Author: jakub
Date: Thu May 19 13:11:56 2011
New Revision: 173907

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173907
Log:
    PR c++/49043
    * decl.c (check_omp_return): Stop searching on sk_function_parms.

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

Added:
    trunk/libgomp/testsuite/libgomp.c++/pr49043.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/libgomp/ChangeLog



More information about the Gcc-bugs mailing list