[all-commits] [llvm/llvm-project] 755016: [flang-rt] Fixed warnings and miscompilations in C...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Apr 10 11:27:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 755016a3a82eb1850d88b47d636088fb76e5f091
      https://github.com/llvm/llvm-project/commit/755016a3a82eb1850d88b47d636088fb76e5f091
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/terminator.h
    M flang-rt/lib/runtime/stop.cpp
    M flang-rt/lib/runtime/terminator.cpp
    M flang/include/flang/Common/enum-class.h
    M flang/include/flang/Runtime/complex.h

  Log Message:
  -----------
  [flang-rt] Fixed warnings and miscompilations in CUDA build. (#134470)

* DescribeIEEESignaledExceptions() is unused on the device - warning.
* StopStatementText() could return while marked noreturn - warning.
* Including cuda/std/complex only in the device compilation
  may cause nvcc to try to register variables in `cuda` namespace,
  while they are not defined in the host compilation - error.
  I decided to include cuda/std/complex always under RT_USE_LIBCUDACXX.



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