[Bug fortran/44646] [F2008] Implement DO CONCURRENT
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 07:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44646
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-09-05 07:42:29 UTC ---
Parser patch: http://gcc.gnu.org/ml/fortran/2011-09/msg00002.html
TODO as follow up:
* Replace "Sorry" by a real implementation in trans-stmt.c
Note: Needs support for MASK= as allowed by the for-all header,
reusing trans_forall will not work - and will generate slow code.
* Implement type-spec support for "forall" and "do concurrent":
"(integer(8) :: i = 1:5:2)"
* Add documentation to gfc-internal.texi, update gfortran.texi (F2003 status)
and the wiki
* Try to make use of the constraints for the middle end (optimization,
autoparallelization), if possible.
As Cilk+ does something like that, one can piggyback on their effort, either
after Cilk+ is merged or by forward porting the change from the Cilk+ branch
to the trunk.
Cf. http://gcc.gnu.org/ml/gcc/2011-09/msg00021.html
and http://gcc.gnu.org/ml/gcc/2011-08/msg00279.html
* Optionally (-fdo-concurrent=...?), parallelize the loop (e.g. by adding
OpenMP pragmas).
More information about the Gcc-bugs
mailing list