match.pd (sinh (atanh (x))): New simplification rules.
authorGiuliano Belinassi <giuliano.belinassi@usp.br>
Thu, 29 Nov 2018 15:32:30 +0000 (15:32 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 29 Nov 2018 15:32:30 +0000 (08:32 -0700)
commit4aff6d17446ade686d1746716906e8b32499a619
tree90b4a14dfc9641a8fca3101ecac4e40abd6d708f
parent355c62ce02d7d1a5fb7d28c829ee918df3983ad5
match.pd (sinh (atanh (x))): New simplification rules.

* match.pd (sinh (atanh (x))): New simplification rules.
(cosh (atanh (x))): Likewise.

* gcc.dg/sinhatanh-1.c: New test.
* gcc.dg/sinhatanh-2.c: New test.
* gcc.dg/sinhatanh-3.c: New test.

From-SVN: r266625
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sinhatanh-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/sinhatanh-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/sinhatanh-3.c [new file with mode: 0644]