[Bug fortran/42484] ICE with -fopenmp
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 27 11:38:00 GMT 2009
------- Comment #6 from janus at gcc dot gnu dot org 2009-12-27 11:38 -------
One more observation: The Fortran test case works, with return as well as goto,
giving the correct error message, if one removes the 'if' statement:
subroutine sub
!$omp critical
return
!$omp end critical
end subroutine
"error: invalid branch to/from an OpenMP structured block"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42484
More information about the Gcc-bugs
mailing list