testsuite: Use noipa attribute for pr95115 test
authorXi Ruoyao <xry111@xry111.site>
Fri, 27 Jan 2023 11:03:05 +0000 (19:03 +0800)
committerXi Ruoyao <xry111@xry111.site>
Fri, 27 Jan 2023 12:04:25 +0000 (20:04 +0800)
commitffa29648b2fbb1a14c70a33d3b6cd420ba4e9f9d
tree24195838b6b8740f70d55de57baf34bae35e2920
parent2325c8920bbc99edcc9fffaa79577c528df41eb8
testsuite: Use noipa attribute for pr95115 test

This prevent the compiler from deeming the NaN result "unused" and
remove the calculation raising INVALID exception. See the discussion
in PR107608 for details.

gcc/testsuite/ChangeLog:

* gcc.dg/pr95115.c (x): Add noipa attribute.
gcc/testsuite/gcc.dg/pr95115.c