re PR tree-optimization/88074 (g++ hangs on math expression)
authorDavid Malcolm <dmalcolm@redhat.com>
Sat, 23 Feb 2019 00:14:52 +0000 (00:14 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Feb 2019 00:14:52 +0000 (01:14 +0100)
commit0d527f0d31acd5f41ec6dc01ac4b8b5ab432b8ed
tree5927151576089aa92ef77733188bd5f8a3c8bd54
parent01d3d58151a8e8f21e92b4b29069be6fe6af7057
re PR tree-optimization/88074 (g++ hangs on math expression)

PR middle-end/88074
* simplify.c (norm2_do_sqrt, gfc_simplify_norm2): Use
mpfr_number_p && !mpfr_zero_p instead of mpfr_regular_p.
(norm2_add_squared): Likewise.  Use mp_exp_t rather than mpfr_exp_t.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r269139
gcc/fortran/ChangeLog
gcc/fortran/simplify.c