This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35423] Implement OpenMP workshare
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2008 11:20:39 -0000
- Subject: [Bug fortran/35423] Implement OpenMP workshare
- References: <bug-35423-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2008-03-06 11:20 -------
This is not middle-end thing, all that is needed is change fortran FE to lower
(some forms of ) !$omp workshare constructs into some other standard
worksharing construct than single, particularly into OMP_FOR or perhaps
sometimes OMP_SECTIONS or OMP_SINGLE just for one or a couple of lines rather
than the whole !$omp workshare.
I don't plan to work on this myself, but any of the numerous Fortran FE
maintainers could do this, I can help with advice if needed.
Either code to expand the implicit loops in expressions will need to be
duplicated, or tweaked (e.g. add a flag to them, which would result in OMP_FOR
loops being created rather than normal loops).
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |fortran
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35423