https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97320
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Jacques Le Bourlot from comment #2) > > The compiler should see that "IF (i >= 1)" THEN "i-1 >= 0". Quoting the > manual is not an adequate answer. An upgrade would be most welcomed. > gfortran is mostly maintained by a diminishing number of contributors. Messages telling the few remaining contributors what they ought to do are likely to fall on deaf ears. Patches from new contributors are welcomed; otherwise, sometime in the future, perhaps a decade or so, someone might care enough to try to fix this annoyance. In the meantime, add -Wno-do-subscript to your options.