https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369
--- Comment #20 from kargls at comcast dot net --- (In reply to Jerry DeLisle from comment #19) > > What this is doing is invoking -std=legacy for files with suffixes that > imply legacy files such as .f > > This is my first dive on the lang-spec file so there may be something a > little different we do. The .f suffix denotes fixed-form source code, which is independent of what -std=legacy originally meant. The -std=legacy allows a bunch of nonstandard Fortran or deleted features. IMO, it should not be used as a hammer. Here's an example where -std=legacy may be unintentionally accepting code that a programmer may otherwise want flagged for an error. PROGRAM FOO REAL DX, X DX = 1.e0 C The next line was allowed in Fortran 66 and 77(?). DO X = 0., 10., DX PRINT *, X END DO END