aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-03-04 12:36:04 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2019-03-04 12:36:04 +0000
commit5f054b17f826e2cfb4c76020bce79b2ed99bb9f9 (patch)
tree42a53f947d241a902a03d45985896fc39d2e72df /gcc/fold-const.c
parent19d4e4d614655cf76d87522855103c01d029b2cf (diff)
downloadgcc-5f054b17f826e2cfb4c76020bce79b2ed99bb9f9.zip
gcc-5f054b17f826e2cfb4c76020bce79b2ed99bb9f9.tar.gz
gcc-5f054b17f826e2cfb4c76020bce79b2ed99bb9f9.tar.bz2
re PR tree-optimization/89437 (incorrect result for sinl (atanl (x)))
Fix PR89437 Fix PR89437. Fix the sinatan-1.c testcase to not run without a C99 target system. Use nextafterl for long double initialization. Fix an issue with sinl (atanl (sqrtl (LDBL_MAX)) returning 0.0 instead of 1.0 by using x < sqrtl (LDBL_MAX) in match.pd. gcc/ PR tree-optimization/89437 * match.pd: Use lt in sin(atan(x)) and cos(atan(x)) simplifications. testsuite/ PR tree-optimization/89437 * gcc.dg/sinatan-1.c: Fix testcase. From-SVN: r269364
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions