https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105309
Bug ID: 105309 Summary: recursive should be the default now, or -fcheck=recursion is incorrect Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: everythingfunctional at protonmail dot com Target Milestone: --- As of F2018, all procedures are recursive by default. However, `-fcheck=recursion` still identifies procedures called recursively (directly or indirectly) that do not specify `non_recursive` with `Fortran runtime error: Recursive call to nonrecursive procedure`. All procedures should be assumed to have the recursive attribute unless explicitly declared otherwise.