[all-commits] [llvm/llvm-project] 0b3a89: [builtins] Avoid using long double in FreeBSD stan...

Dimitry Andric via All-commits all-commits at lists.llvm.org
Tue Jan 2 10:24:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b3a89f121eaf23b93b9b9b2a9410ae1f6e2fc44
      https://github.com/llvm/llvm-project/commit/0b3a89f121eaf23b93b9b9b2a9410ae1f6e2fc44
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M compiler-rt/lib/builtins/int_types.h

  Log Message:
  -----------
  [builtins] Avoid using long double in FreeBSD standalone environment (#76175)

After 05a4212cc76d a number of long double related declarations are
enabled in `int_types.h`, whenever the CPU architecture and platform
support it. However, this does not work with FreeBSD's standalone
environment, which disallows any use of floating point.

In add98b246290 this was made conditional with `CRT_HAS_FLOATING_POINT`,
so extend the block guarded by that define to include all floating point
related declarations.




More information about the All-commits mailing list