[Bug fortran/97084] Openmp + Allocatable String Crashes

2020-10-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97084 --- Comment #3 from Tobias Burnus --- If one assumes that the pointer can be privatized (as the pointer target is updated) and adds in gfc_omp_clause_copy_ctor a simple return build2_v (MODIFY_EXPR, dest, src); it compiles and runs but the f

[Bug fortran/97084] Openmp + Allocatable String Crashes

2020-10-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97084 --- Comment #2 from Tobias Burnus --- Trying with: character(len=:), allocatable :: temp_string character(len=N) :: temp_string2 (using one or the other) Both get set to 'shared' initially; in omp-low.c' scan_sharing_clauses: case OM

[Bug fortran/97084] Openmp + Allocatable String Crashes

2020-10-06 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97084 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-10-06 Ever confirmed|0