https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99045
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Confirmed for GCC 10. However, the issue has already been FIXED in GCC MAINLINE (= GCC 11), which is currently in Stage 4 (regression fixes & docs only) and expected to be released roughly around end of April (date estimate based on past release dates). Namely: GCC 11 commit 'Fortran: Fix some select rank issues' for PR97694 and PR97723, https://gcc.gnu.org/g:88718208897140e63f10ad81b8a69f01b610bb40 [Additionally, the fix has now been applied to the GCC's 'devel/omp/gcc-10' ("OG10") branch, which is based on GCC 10 and contains some additional mostly OpenMP related fixes which are either backported from mainline or not yet applied there; https://gcc.gnu.org/g:88718208897140e63f10ad81b8a69f01b610bb40 ]