]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix unused functions in invtrig_test.c
authorAlex Richardson <arichardson@FreeBSD.org>
Mon, 22 Mar 2021 13:05:28 +0000 (13:05 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Thu, 22 Apr 2021 09:44:51 +0000 (10:44 +0100)
commit549e8b821fcf102a99bffb995832e01fc9c5108d
tree3555776be76a11aef7b83f5aaaaa07bc8d3981a8
parentf3230956454747d4ef4f6d065fd7a5c269d6250d
Fix unused functions in invtrig_test.c

I only tested the WARNS=6 change on AArch64 and AMD64, but this file has
unused functions for architectures with LDBL_PREC == 53.

While touching this file change the LDBL_PREC == 53 checks to i386 checks.
The long double tests should only be disabled for i386 (due to the rather
odd rounding mode that it uses) not all architectures where long double
is the same as double.

PR: 205449
Fixes: 87d65c747a43 ("lib/msun: Allow building tests with WARNS=6")
Reported by: Jenkins

(cherry picked from commit 7f5693d05329ab976287b8d449e694e7a0f99e88)
lib/msun/tests/invtrig_test.c