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/50688] OpenMP: Strange interaction with BLOCK


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50688

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |diagnostic, openmp
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-10-10 21:14:35 UTC ---
Good question whether it should be valid or rejected. OpenMP 3.1 itself does
not allow it, which is not surprising as OpenMP 3.1 is based on Fortran 95 but
BLOCK is Fortran 2008.

Ignoring this issue, I think WORKSHARE does not fit for BLOCK; it is usually
used for array assignments and FORALL/WHERE assignments, but BLOCK is something
different. 

For general parallelization, I think TASK is more useful.


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