[all-commits] [llvm/llvm-project] 1b88df: [flang] Fix arm clang build

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 1 12:57:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b88df1c8e4aa03cf3102ab0b4f8688fe79864ed
      https://github.com/llvm/llvm-project/commit/1b88df1c8e4aa03cf3102ab0b4f8688fe79864ed
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M flang/runtime/complex-reduction.c

  Log Message:
  -----------
  [flang] Fix arm clang build

The new source file flang/runtime/complex-reduction.c contains
a portability work-around that implicitly assumed that a recent
version of clang would be used; this patch changes the code and
should be portable to older clangs and any other C compilers that
don't support the standard CMPLXF/CMPLX/CMPLXL macros.




More information about the All-commits mailing list