------- 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