Re: [testsuite PATCH] Fix -m32 gcc.target/i386/pr102464-vrndscaleph.c on RedHat.

2024-06-30 Thread Hongtao Liu
On Sun, Jun 30, 2024 at 7:29 PM Roger Sayle wrote: > > > 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 o

[testsuite PATCH] Fix -m32 gcc.target/i386/pr102464-vrndscaleph.c on RedHat.

2024-06-30 Thread Roger Sayle
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 de