[Bug fortran/38432] New: Add warning for endless loops

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 6 22:17:00 GMT 2008


Ignoring overflows, the following program would run for ever. NAG f95 prints
the 
  Warning: DO loop has zero iteration count

integer :: i
do i = 1, -3, 1
end do
end


-- 
           Summary: Add warning for endless loops
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        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=38432



More information about the Gcc-bugs mailing list