https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to Alexander Grund from comment #4) > I attached 2 testcases. Both are the same files but with different file > endings. The .f works, the .F90 doesn't (it shows the reported behavior) > > compile both with "gfortran -fopenmp {file}" The reason you get no error with the .f file is that it is a Fortran fixed format source file. If you add -ffree-form to the gfortran options, you get the same error. I think the problem is that the simd directive belongs to OpenMP 4.0 and your gfortran supports only 3.1. You'll have to wait until OpenMP 4 is supported by gfortran.