> cat test.f90 ! Purpose : Negative test with a loop construct containing two loops ! associated via a collapse clause, where the innermost associated ! loop contains a CYCLE statement with a label that applies to the ! outer associated loop. ! ! REFERENCES ! OpenMP 3.0, p. 45, lines 16-17 program NF03_2_5_1_9a integer :: i,j !$omp parallel do collapse(2) outer_do: do i=1,2 do j=1,2 print *, i cycle outer_do end do end do outer_do end program NF03_2_5_1_9a > gfortran -fopenmp test.f90 test.f90: In function 'nf03_2_5_1_9a': test.f90:13: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate.
-- Summary: ICE: OpenMP with Collapse clause and CYCLE stmt in loop Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: longb at cray dot com GCC build triplet: x86_64-suse-linux GCC host triplet: x86_64-suse-linux GCC target triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44847