[all-commits] [llvm/llvm-project] 3bca85: [flang] Correct checking of PRESENT() (#78364)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 25 14:20:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bca8506ab65c66e32695ba50571c4384be8e4d1
      https://github.com/llvm/llvm-project/commit/3bca8506ab65c66e32695ba50571c4384be8e4d1
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Semantics/check-call.cpp
    A flang/test/Semantics/present01.f90

  Log Message:
  -----------
  [flang] Correct checking of PRESENT() (#78364)

The argument to the PRESENT() intrinsic function must be the name of a a
whole OPTIONAL dummy argument.

Fixes llvm-test-suite/Fortran/gfortran/regression/present_1.f90.




More information about the All-commits mailing list