In the following program, the uninitialized "i" is only detected if one uncomments the print statement. program test implicit none integer :: i,j j = i*5 print*,i end program test
Forgot to write that this is a Fortran program. Use gfortran -Wall -O to compile it.
And the issue here is really PR19430 For some reason gfortran decided that print will cause a pass via reference :). *** This bug has been marked as a duplicate of 19430 ***