Re: [PATCH] testsuite: Use noipa and noinline attributes for pr95115 test

2023-01-27 Thread Jakub Jelinek via Gcc-patches
On Fri, Jan 27, 2023 at 07:46:27PM +0800, Xi Ruoyao wrote: > They prevent the compiler from deeming the NaN result "unused" and > remove the calculation raising INVALID exception. See the discussion > in PR107608 for details. > > Tested on x86_64-linux-gnu where the change fixes the test failure.

[PATCH] testsuite: Use noipa and noinline attributes for pr95115 test

2023-01-27 Thread Xi Ruoyao via Gcc-patches
They prevent the compiler from deeming the NaN result "unused" and remove the calculation raising INVALID exception. See the discussion in PR107608 for details. Tested on x86_64-linux-gnu where the change fixes the test failure. Ok for trunk? gcc/testsuite/ChangeLog: * gcc.dg/pr95115.c