[all-commits] [llvm/llvm-project] ea2c88: [flang] Improve handling of NULL() arguments to in...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 3 14:14:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea2c88f51297eb0ef8d352d650bb71b0292d9898
      https://github.com/llvm/llvm-project/commit/ea2c88f51297eb0ef8d352d650bb71b0292d9898
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [flang] Improve handling of NULL() arguments to intrinsics (#93866)

Some intrinsics (extends_type_of, same_type_as) can accept a NULL actual
argument so long as it has a MOLD=. Some intrinsics that are marked in
the intrinsics table as accepting a NULL actual argument already should
only do so if it has a MOLD=. Distinguish table entries that accept a
NULL() only with a MOLD= from the few others that allow a bare NULL()
and update tests.

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



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