[all-commits] [llvm/llvm-project] e83c5b: [flang] Warn about automatic data in main program, ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 8 11:06:54 PDT 2024


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/resolve77.f90
    M flang/test/Semantics/stmt-func01.f90

  Log Message:
  -----------
  [flang] Warn about automatic data in main program, disallow in BLOCK … (#102045)

…DATA

We allow automatic data objects in the specification part of the main
program; add an optional portability warning and documentation. Don't
allow them in BLOCK DATA. They're already disallowed as module
variables.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list