Fails with: 4.4.0 20080704 (experimental) [trunk revision 137451] 4.4.0 20080628 (experimental) [trunk revision 137216] Works with: 4.4.0 20080627 (experimental) [trunk revision 137189] $ gfortran -c -fopenmp test.f90 test.f90: In function 'double_grid_apply_non_local': test.f90:113: internal compiler error: in move_stmt_r, at tree-cfg.c:5699
Created attachment 15851 [details] Test file
Subject: Bug 36726 Author: jakub Date: Mon Jul 7 15:26:35 2008 New Revision: 137572 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137572 Log: PR middle-end/36726 * f95-lang.c (poplevel): Don't ever add subblocks to global_binding_level. * gfortran.dg/gomp/pr36726.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/gomp/pr36726.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/f95-lang.c trunk/gcc/testsuite/ChangeLog
Fixed.