https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369
--- Comment #21 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to kargls from comment #20) > (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. > It breaks some test cases as well. At this point I am undecided bewteen changing this or adding to the documentation that -std=legacy may be needed when using -x f77 and leave everything alone.