[all-commits] [llvm/llvm-project] aa68dd: [flang] Disable extension by default (#114875)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Nov 14 14:56:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa68dd57838d29f1e020fa6e5a726c2e2317bb75
      https://github.com/llvm/llvm-project/commit/aa68dd57838d29f1e020fa6e5a726c2e2317bb75
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Common/Fortran-features.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call38.f90

  Log Message:
  -----------
  [flang] Disable extension by default (#114875)

f18 allows, as an extension, an assumed-rank array to be associated with
a dummy argument that is not assumed-rank. This usage is non-conforming
and supported by only one other compiler, perhaps unintentionally.
Disable the extension by default, but also make it controllable so that
we can turn it back on later if it's really needed. (If it turns out to
not appear in applications after more exposure, I'll remove it
entirely.)

Fixes https://github.com/llvm/llvm-project/issues/114080.



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