https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69055
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to physiker from comment #0) > Created attachment 37134 [details] > Source code > > t.f90 > SUBROUTINE TSTD > > IMPLICIT NONE > > INTEGER*4 N > > COMMON /COMMI/DATEN(10) > > type T_daten > sequence > real(8) daten > end type T_daten > > type(T_daten) :: daten > > integer(4) :: j=1 > > N=daten(j)%daten > > END SUBROUTINE TSTD > > peter@linux:~/devel/build-gcc> LANG=C gfortran-6 -v -save-temps -c t.f90 > -fby GNU C version 6.0.0 20151223 (experimental), GMP version 5.1.3, > MPFR version 3.1.2, MPC version 1.0.2, isl version none > GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 > t.f90:18:0: > > N=daten(j)%daten > The code is non-conforming Fortran. daten(j)%daten is used uninitialized. gfortan can do anything it wants with the code, including throwing an error. -- steve