[Bug middle-end/31284] New: Uninitialized variable not detected

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 20 17:37:00 GMT 2007


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



More information about the Gcc-bugs mailing list