[all-commits] [llvm/llvm-project] ea87d7: [flang] Add control and a portability warning for ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 12 12:15:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea87d7c0dbceaf21ddbd53d261600ca5e3aeddd7
      https://github.com/llvm/llvm-project/commit/ea87d7c0dbceaf21ddbd53d261600ca5e3aeddd7
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M flang/include/flang/Support/Fortran-features.h
    M flang/lib/Semantics/check-call.cpp
    A flang/test/Semantics/call44.f90

  Log Message:
  -----------
  [flang] Add control and a portability warning for an extension (#137995)

This compiler allows an element of an assumed-shape array or POINTER to
be used in sequence association as an actual argument, so long as the
array is declared to have the CONTIGUOUS attribute.

Make sure that this extension is under control of a LanguageFeature
enum, so that a hypothetical compiler driver option could disable it,
and add an optional portability warning for its use.



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