http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51991
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-25 Ever Confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-25 11:09:19 UTC --- It looks like the test should be module mymod type :: mytyp integer :: i end type mytyp contains subroutine mysub implicit none type(mytyp) :: a integer :: i,j i = a%i savej = a%j end subroutine mysub end module mymod and for the variant above I confirm that the error is pr51991_db.f90:11.9: savej = a%j 1 Error: Syntax error in SAVE statement at (1) for gfortran 4.4.6, 4.5.3, 4.6.3, and 4.7.0 (trunk r183455).