Partially revert ac76bc1145 because it is no longer necessary

In ac76bc1145, I added a few volatiles to work around ctrig_test
failures with {inf,inf}. This is not necessary anymore now, since in
3b00222f15 we added -fp-exception-behavior=maytrap for clang >= 10 in
libm's Makefile. (The flag tells clang to use stricter floating point
semantics, which libm depends on.)

PR:		244732, 254911
Fixes:		ac76bc1145

(cherry picked from commit e2157cd000)
This commit is contained in:
Dimitry Andric committed 2021-11-08 22:14:41 +01:00
1 parent 2517b11885
commit ca7ffd26b3
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ static const float huge = 0x1p127;
float complex
ccoshf(float complex z)
{
volatile float x, y, h;
float x, y, h;
int32_t hx, hy, ix, iy;
x = crealf(z);
+1 -1
View File
@@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
double complex
ctanh(double complex z)
{
volatile double x, y;
double x, y;
double t, beta, s, rho, denom;
uint32_t hx, ix, lx;
+1 -1
View File
@@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
float complex
ctanhf(float complex z)
{
volatile float x, y;
float x, y;
float t, beta, s, rho, denom;
uint32_t hx, ix;