On 1/30/19 7:10 AM, Bárbara de Castro Fernandes wrote:
> This patch simplifies the function tanh (x) * cosh (x) -> sinh (x).
> This rule is derived from the relationship between hyperbolic
> functions.
> 
> I ran the tests and gfortran.dg/pr79966.f90 failed, but this failure
> is unrelated to the patch (see
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88711 for more
> information). My architecture is x86_64.
> 
> gcc/ChangeLog:
> 2019-01-30  Bárbara Fernandes <barbara.fernan...@usp.br>
> 
>     * match.pd (tanh (x) * cosh (x)): New simplification rule.
> 
> gcc/testsuite/ChangeLog:
> 2019-01-30  Bárbara Fernandes  <barbara.fernan...@usp.br>
> 
>     * tanhtimescosh.c: New test.
> 
Just a note.  The trunk is only open for regression bugfixes right  now
as we prepare for the spring release.  This patch has been queued for
analysis after the gcc-9 release.
jeff

Reply via email to