[Bug fortran/58100] Spurious "DO loop at (1) will be executed zero times" warning

2013-08-22 Thread roland.kaufmann at uni dot no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58100 --- Comment #5 from Roland Kaufmann --- (In reply to Tobias Burnus from comment #3) > Roland: Is the new warning option -W(no-)zerotrip sufficient for you? As a general principle: I believe that the compiler should not issue any warnings if run w

[Bug fortran/58100] New: Spurious "DO loop at (1) will be executed zero times" warning

2013-08-07 Thread roland.kaufmann at uni dot no
ty: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: roland.kaufmann at uni dot no Minimum example to reproduce: program doloop integer, parameter :: i = 0 if (i <= 0) then print *,'i is not positive