+2019-03-04 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR tree-optimization/89437
+ * match.pd: Use lt in sin(atan(x)) and cos(atan(x)) simplifications.
+
2019-03-04 Richard Biener <rguenther@suse.de>
PR middle-end/89572
tree t_one = build_one_cst (type);
}
(if (SCALAR_FLOAT_TYPE_P (type))
- (cond (le (abs @0) { t_cst; })
+ (cond (lt (abs @0) { t_cst; })
(rdiv @0 (sqrts (plus (mult @0 @0) { t_one; })))
(copysigns { t_one; } @0))))))
tree t_zero = build_zero_cst (type);
}
(if (SCALAR_FLOAT_TYPE_P (type))
- (cond (le (abs @0) { t_cst; })
+ (cond (lt (abs @0) { t_cst; })
(rdiv { t_one; } (sqrts (plus (mult @0 @0) { t_one; })))
(copysigns { t_zero; } @0))))))
+2019-03-04 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR tree-optimization/89437
+ * gcc.dg/sinatan-1.c: Fix testcase.
+
2019-03-04 Richard Biener <rguenther@suse.de>
PR middle-end/89572
-/* { dg-do run } */
+/* { dg-do run { target c99_runtime } } */
/* { dg-options "-Ofast" } */
/* { dg-add-options ieee } */
/* Get first x such that 1 + x*x will overflow */
float fc = nextafterf (sqrtf (__FLT_MAX__ - 1), __FLT_MAX__);
double c = nextafter (sqrt (__DBL_MAX__ - 1), __DBL_MAX__);
- long double lc = nextafter (sqrtl (__LDBL_MAX__ - 1), __LDBL_MAX__);
+ long double lc = nextafterl (sqrtl (__LDBL_MAX__ - 1), __LDBL_MAX__);
/* Force move from FPU to memory, otherwise comparison may
fail due to possible more accurate registers (see 387) */