diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2024-07-01 12:21:20 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2024-07-01 12:21:20 +0100 |
commit | 589865a8e4f6bd26c622ea0ee0a38565a0d42e80 (patch) | |
tree | 483eea234fce92491232336de70c986ee70bca09 /gcc/ada | |
parent | 142b5263b18be96e5d9ce406ad2c1b6ab35c190f (diff) | |
download | gcc-589865a8e4f6bd26c622ea0ee0a38565a0d42e80.zip gcc-589865a8e4f6bd26c622ea0ee0a38565a0d42e80.tar.gz gcc-589865a8e4f6bd26c622ea0ee0a38565a0d42e80.tar.bz2 |
testsuite: Fix -m32 gcc.target/i386/pr102464-vrndscaleph.c on RedHat.
This patch fixes the 4 FAILs of gcc.target/i386/pr192464-vrndscaleph.c
with --target_board='unix{-m32}' on RedHat 7.x. The issue is that this
AVX512 test includes the system math.h, and on older systems this provides
inline versions of floor, ceil and rint (for the 387). The work around
is to define __NO_MATH_INLINES before #include <math.h> (or alternatively
use __builtin_floor, __builtin_ceil, etc.).
2024-07-01 Roger Sayle <roger@nextmovesoftware.com>
gcc/testsuite/ChangeLog
PR middle-end/102464
* gcc.target/i386/pr102464-vrndscaleph.c: Define __NO_MATH_INLINES
to resovle FAILs with -m32 on older RedHat systems.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions