[all-commits] [llvm/llvm-project] b3026b: [flang] Soften interoperability error when standar...

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


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

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/bind-c17.f90

  Log Message:
  -----------
  [flang] Soften interoperability error when standard allows (#115092)

The standard doesn't require that an interoperable procedure's dummy
arguments have interoperable derived types in some cases. Although
nearly all extant Fortran compilers emit errors, some don't, and things
should work; so reduce the current fatal error message to an optional
portability warning.

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



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