https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #6) > Created attachment 60279 [details] > Draft patch - see comment 6 for known issues > > ... this includes REDUCE. > Note that no real concurrency except for SIMD / vectorization is supported > so far. But in particular: > > * * * > > NOTE: The current implementation does not handle LOCAL or LOCAL_INIT, > which fail with 'sorry, unimplemented'. > > * * * > > Attached is a draft patch which adds basic support for LOCAL and LOCAL_INIT; > however, the current implementation does not handle: > > (A) LOCAL and default values of derived-types > -> testsuite/gfortran.dg/do_concurrent_12.f90 > something like deferred initialization seems to be missing > > (B) (no testcases) assumed-size arrays, which need to be handle in a > special way. > > Thinking about it, maybe using > gfc_omp_clause_default_ctor / gfc_omp_clause_copy_ctor > instead or in additional could make sense here. And if there are issues, > possibly those should be improved as well. Thanks Tobias! I will see if I can do something with this to help you.