[Bug fortran/79154] New: omp declare simd in pure function?
chinoune.mehdi at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 19 19:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79154
Bug ID: 79154
Summary: omp declare simd in pure function?
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chinoune.mehdi at hotmail dot com
Target Milestone: ---
Created attachment 40550
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40550&action=edit
the fortran program
I tried to build the program (see attachment) with gfortran (5.4.0 linux,cygwin
6.2.0,6.3.0 mingw 6.2.0 linux ...)
it gave me this error:
test_simd.f90:6:6:
!$omp declare simd(add)
1
Error: OpenMP directives at (1) may not appear in PURE or ELEMENTAL procedures
More information about the Gcc-bugs
mailing list