https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102638
Bug ID: 102638 Summary: Add warning for implicit save Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- I request that a -Wimplicit-save option be added and made part of -Wall and -Wextra. Within a procedure, a declaration such as integer :: i = 0 would trigger the warning. To silence it, the user would have to write integer, save :: i = 0 Implicit save is a bad feature of Fortran that often surprises and perplexes newcomers to the language. Gfortran must implement the standard, but it can nudge users toward better practices with a -Wimplicit-save option.