https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57141
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Antonio from comment #5) > I am experiencing this problem in gfortran from gcc version 10.2.0 and the > same workaround also works. It seems to be a regression. Hi Antonio. Do you use exactly the program from the original comment 0 – or some other program? That program works here with mainline (GCC 11) and a GCC 10.2.0. Additionally, exactly that program is part of the regression testsuite since 2013, hence, issues would show up, but don't. Thus, I assume that you have a slightly different program. If so, can you please open a new PR (problem report) – and include/attach your failing variant?