[all-commits] [llvm/llvm-project] 1db42f: [flang] Do not write implicit SAVE attribute into ...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Sep 25 09:35:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1db42fa6f07838365e34d7d05df3c8b7287be176
      https://github.com/llvm/llvm-project/commit/1db42fa6f07838365e34d7d05df3c8b7287be176
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile58.f90

  Log Message:
  -----------
  [flang] Do not write implicit SAVE attribute into the mod file. (#67215)

If it happens that a symbol has an implicit SAVE attribute,
we have to omit it in the mod file writer. Otherwise it may
violate F202X C862:
The SAVE attribute shall not be specified for... an object that is
in a common block.




More information about the All-commits mailing list