https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66910
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- nagfor complains: 1 Runtime Error: 66910.f90, line 13: ALLOCATABLE ENVIRONMENT_TABLE is not currently allocated Program terminated by fatal error Abgebrochen (Speicherabzug geschrieben) And it is indeed correct. When entering the subroutine env_table_add, the line type(t_env_table), dimension(size(environment_table)) :: temp is indeed incorrect - variables which are not allocated have no valid size.