https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58043
Bill Sacks <sacks at ucar dot edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sacks at ucar dot edu --- Comment #4 from Bill Sacks <sacks at ucar dot edu> --- Created attachment 32926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32926&action=edit another test case demonstrating this behavior For what it's worth, I'm attaching another test case that demonstrates what seems to be the same bug. There are two subroutines, one in which the argument is declared as a 'type' and one as a 'class'. The subroutine that uses the 'type' dummy variable produces the correct output: 21 22 23 whereas the one that uses the 'class' dummy variable produces the wrong output: 21 0 0 I have confirmed this buggy behavior in gfortran 4.7.3, 4.8.2, 4.8.3 and 4.9.0.