[all-commits] [llvm/llvm-project] ef2d59: [Flang] malloc(1) on AIX as malloc(0) returns null...

madanial0 via All-commits all-commits at lists.llvm.org
Wed Dec 6 05:45:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef2d59b1456866f441d324ed81b208851df26ef4
      https://github.com/llvm/llvm-project/commit/ef2d59b1456866f441d324ed81b208851df26ef4
  Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M flang/runtime/ISO_Fortran_binding.cpp

  Log Message:
  -----------
  [Flang] malloc(1) on AIX as malloc(0) returns nullptr (#73878)

On AIX malloc(0) reutrns nullptr, which fails test case
`Evaluate/ISO-Fortran-binding.test`, using malloc(1) in AIX for
consistent behaviour

---------

Co-authored-by: Mark Danial <mark.danial at ibm.com>




More information about the All-commits mailing list