https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Is this PR still a problem? I get no warnings with > > % gfcx -o z -Wall -Wsurprising -Wextra a.f90 You need -Warray-temporaries and it is still present at revision r272311.