This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/69090] Allocatable arrays mishandled in 'omp declare target'


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]