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
--
Summary: Uninitialized variable not detected
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31284
