[Bug fortran/69090] Allocatable arrays mishandled in 'omp declare target'
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 30 21:44:00 GMT 2015
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?
More information about the Gcc-bugs
mailing list