> gfortran -c -fopenmp bug.f90 bug.f90: In function rs_pw_transfer_distributed: bug.f90:6:0: internal compiler error: in gfc_trans_cycle, at fortran/trans-stmt.c:4320 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
> cat bug.f90 SUBROUTINE rs_pw_transfer_distributed() INTEGER, ALLOCATABLE, DIMENSION(:, :) :: bounds !$omp parallel do default(none), & !$omp shared(bounds,my_rs_rank) DO i = 0, N IF (ub_send(1) .LT.bounds(my_rs_rank,1)) CYCLE END DO END SUBROUTINE rs_pw_transfer_distributed -- Summary: [4.6 Regression] ICE: in gfc_trans_cycle, at fortran/trans-stmt.c:4320 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45597