This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix handling of nested functions (take 2)
On Fri, Sep 22, 2006 at 02:56:58PM -0400, Jakub Jelinek wrote:
> PR middle-end/25261
> PR middle-end/28790
> * tree-nested.c (struct nesting_info): Added static_chain_added.
> (convert_call_expr): Set static_chain_added when adding static
> chain. Handle OMP_PARALLEL and OMP_SECTION.
>
> * gcc.dg/gomp/nestedfn-1.c: New test.
>
> * testsuite/libgomp.c/nestedfn-4.c: New test.
> * testsuite/libgomp.c/nestedfn-5.c: New test.
> * testsuite/libgomp.fortran/nestedfn3.f90: New test.
Ok.
r~