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

Dimitry Andric via All-commits all-commits at lists.llvm.org
Tue Jan 2 07:40:03 PST 2024


  Branch: refs/heads/users/DimitryAndric/builtins-avoid-long-double-standalone
  Home:   https://github.com/llvm/llvm-project
  Commit: d75acf38713bd4dab7755733adaedd9274438a98
      https://github.com/llvm/llvm-project/commit/d75acf38713bd4dab7755733adaedd9274438a98
  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

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