aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-02-16 19:46:04 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-02-16 19:46:04 +0100
commit843192c0ebde5cc6e4f1abeb02e3ac05b02d984a (patch)
tree79ecf432d5606a1767ac365b360e68389080f284 /gcc/tree-sra.c
parent3fe53000bbaa5024af7ceecb950e0a7fd6b189e3 (diff)
downloadgcc-843192c0ebde5cc6e4f1abeb02e3ac05b02d984a.zip
gcc-843192c0ebde5cc6e4f1abeb02e3ac05b02d984a.tar.gz
gcc-843192c0ebde5cc6e4f1abeb02e3ac05b02d984a.tar.bz2
re PR tree-optimization/88074 (g++ hangs on math expression)
PR middle-end/88074 * simplify.c (simplify_transformation_to_array): Run post_op immediately after processing corresponding row, rather than at the end. (norm2_scale): New variable. (add_squared): Rename to ... (norm2_add_squared): ... this. Scale down operand and/or result if needed. (do_sqrt): Rename to ... (norm2_do_sqrt): ... this. Handle the result == e case. Scale up result and clear norm2_scale. (gfc_simplify_norm2): Clear norm2_scale. Change add_squared to norm2_add_squared and &do_sqrt to norm2_do_sqrt. Scale up result and clear norm2_scale again. From-SVN: r268962
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions