diff options
author | Vitor Guidi <vitor.guidi@usp.br> | 2020-06-03 17:01:21 -0600 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:10:04 -0300 |
commit | 601c68c6112d49fe615872a2cba5cb8c3eff0bc5 (patch) | |
tree | eb1974034c3656fcb040867e4a21f29c476541e3 /gcc/cp/constexpr.c | |
parent | 947ad61710444bb37c6b0af2c1cb1dce1adf9bc7 (diff) | |
download | gcc-601c68c6112d49fe615872a2cba5cb8c3eff0bc5.zip gcc-601c68c6112d49fe615872a2cba5cb8c3eff0bc5.tar.gz gcc-601c68c6112d49fe615872a2cba5cb8c3eff0bc5.tar.bz2 |
optimize tanh(x) / sinh (x) to 1/ cosh (x)
gcc/
* match.pd (tanh/sinh -> 1/cosh): New simplification.
gcc/testsuite
* gcc.dg/tanhbysinh.c: New testcase.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions