http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47331
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-25 17:01:10 UTC --- Author: burnus Date: Tue Jan 25 17:01:06 2011 New Revision: 169244 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169244 Log: 2011-01-25 Tobias Burnus <bur...@net-b.de> Backport from mainline 2011-01-17 Jakub Jelinek <ja...@redhat.com> PR fortran/47331 * gfortran.h (struct gfc_omp_saved_state): New type. (gfc_omp_save_and_clear_state, gfc_omp_restore_state): New prototypes. * resolve.c (resolve_global_procedure): Call it around gfc_resolve call. 2011-01-25 Tobias Burnus <bur...@net-b.de> Backport from mainline 2011-01-17 Jakub Jelinek <ja...@redhat.com> PR fortran/47331 * gfortran.dg/gomp/pr47331.f90: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/gomp/pr47331.f90 Modified: branches/gcc-4_5-branch/gcc/fortran/ChangeLog branches/gcc-4_5-branch/gcc/fortran/gfortran.h branches/gcc-4_5-branch/gcc/fortran/openmp.c branches/gcc-4_5-branch/gcc/fortran/resolve.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog