[Bug fortran/29097] New: !$ include 'omp_lib.h' does not work
bartoldeman at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Fri Sep 15 10:34:00 GMT 2006
The following conditional OpenMP inclusion does not work in gfortran
(gcc version 4.2.0 20060824 (experimental)):
program test
!$ include 'omp_lib.h'
end
$ gfortran -c -fopenmp test.f90
In file test.f90:2
!$ include 'omp_lib.h'
1
Error: Unclassifiable statement at (1)
!$ use omp_lib
works however, and I checked that the include succeeds without the !$.
--
Summary: !$ include 'omp_lib.h' does not work
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bartoldeman at users dot sourceforge dot net
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29097
More information about the Gcc-bugs
mailing list