libgomp, testsuite: Do not call nonstandard functions
commit0ccfbe6431e7c59a5953d1998e73d30667fd75e0
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Tue, 22 Aug 2023 08:15:00 +0000 (22 10:15 +0200)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 22 Aug 2023 22:49:08 +0000 (23 00:49 +0200)
tree7d9ec569f464f5d9a0c528a0c6f8965fcc1dc251
parent3242fb533d48abab621618c4f183ca395de3dcd2
libgomp, testsuite: Do not call nonstandard functions

The following functions are not standard, and not always available
(e.g., on darwin). They should not be called unless available: gamma,
gammaf, scalb, scalbf, significand, and significandf.

libgomp/ChangeLog:

* testsuite/lib/libgomp.exp: Add effective target.
* testsuite/libgomp.c/simd-math-1.c: Avoid calling nonstandard
functions.
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.c/simd-math-1.c