https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66633
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Wed Jul 1 08:21:40 2015 New Revision: 225227 URL: https://gcc.gnu.org/viewcvs?rev=225227&root=gcc&view=rev Log: PR middle-end/66633 * tree-nested.c (convert_nonlocal_omp_clauses): Initialize need_chain to true if the function is nested and if not optimizing. (convert_local_omp_clauses): Initialize need_frame to true if the function contains nested functions and if not optimizing. Added: trunk/gcc/testsuite/gfortran.dg/gomp/pr66633.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-nested.c