[all-commits] [llvm/llvm-project] 2bc30f: [flang] Make interoperability warning an off-by-de...

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


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

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/c_f_pointer.f90

  Log Message:
  -----------
  [flang] Make interoperability warning an off-by-default portability one (#115096)

The FPTR= argument to the C_F_POINTER intrinsic procedure should be a
pointer with an interoperable type, but isn't required to be, and most
compilers don't mention it. Change the warning from an on-by-default
interoperability warning into an off-by-default portability warning.

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



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