[Bug fortran/50688] OpenMP: Strange interaction with BLOCK
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 10 21:15:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list