This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/69090] Allocatable arrays mishandled in 'omp declare target'
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Dec 2015 21:44:27 +0000
- Subject: [Bug fortran/69090] Allocatable arrays mishandled in 'omp declare target'
- Auto-submitted: auto-generated
- References: <bug-69090-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69090
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
It might be helpful to give more context, like the gcc configuration
you use, the accelerator, compilation flags etc.
If I try to compile you example with the Cray compiler on a system
without an accelerator, I get:
% ftn pr69090.f90
!$omp target
^
ftn-1275 crayftn: ERROR $MAIN, File = pr69090.f90, Line = 7, Column = 7
An accelerator module must be loaded for the compiler to support "target"
related directive !$OMP TARGET.
Do you expect a similar error message from gfortran?