[all-commits] [llvm/llvm-project] 9d3387: [flang] Support -f[no-]realloc-lhs. (#120165)

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Dec 17 09:06:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d33874936d83b8ddf5d028d313d810214f00f20
      https://github.com/llvm/llvm-project/commit/9d33874936d83b8ddf5d028d313d810214f00f20
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Lower/LoweringOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Driver/frealloc-lhs.f90
    A flang/test/Lower/reallocate-lhs.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [flang] Support -f[no-]realloc-lhs. (#120165)

-frealloc-lhs is the default.
If -fno-realloc-lhs is specified, then an allocatable on the left
side of an intrinsic assignment is not implicitly (re)allocated
to conform with the right hand side. Fortran runtime will issue
an error if there is a mismatch in shape/type/allocation-status.



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