https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90948
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2019-06-23
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I confirm the reported behavior since at least 4.8.
The code compiles if I replace
do i=1, List%natoms
local%atom(i)=list%atom(i)
end do
with
local%atom=list%atom
While local%atom and list%atom are allocatable variables, I am not sure that
local%atom(i) and list%atom(i) are.