[all-commits] [llvm/llvm-project] 5bd87e: [flang] Silence spurious errors about SAVE (#78765)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 25 15:33:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bd87e65d6a3f985471058ee071320c1def718c4
      https://github.com/llvm/llvm-project/commit/5bd87e65d6a3f985471058ee071320c1def718c4
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve107.f90

  Log Message:
  -----------
  [flang] Silence spurious errors about SAVE (#78765)

When an attribute specification statement follows a declaration that
applies the SAVE attribute to a symbol, name resolution can produce a
spurious error message about redundant SAVEs.

Fixes llvm-test-suite/Fortran/gfortran/regression/proc_ptr_9.f90.




More information about the All-commits mailing list