diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-11-14 10:01:47 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-11-14 10:01:47 +0100 |
commit | c4071191f4d20d25389181b90c0a24f254a47b87 (patch) | |
tree | 67c8f5e231a7aebefb6f2d37deeea480644fd560 /gcc/tree-vect-loop.c | |
parent | 38e601118ca88adf0a472750b0da83f0ef1798a7 (diff) | |
download | gcc-c4071191f4d20d25389181b90c0a24f254a47b87.zip gcc-c4071191f4d20d25389181b90c0a24f254a47b87.tar.gz gcc-c4071191f4d20d25389181b90c0a24f254a47b87.tar.bz2 |
re PR tree-optimization/87977 (ICE: verify_ssa failed (error: definition in block 4 follows the use))
PR tree-optimization/87977
* tree-ssa-math-opts.c (optimize_recip_sqrt): Don't reuse division
stmt, build a new one and replace the old one with it. Formatting fix.
Call release_ssa_name (x) if !has_other_use and !delete_div.
(pass_cse_reciprocals::execute): Before calling optimize_recip_sqrt
verify lhs of stmt is still def.
* gcc.dg/recip_sqrt_mult_1.c: Add -fcompare-debug to dg-options.
* gcc.dg/recip_sqrt_mult_2.c: Likewise.
* gcc.dg/recip_sqrt_mult_3.c: Likewise.
* gcc.dg/recip_sqrt_mult_4.c: Likewise.
* gcc.dg/recip_sqrt_mult_5.c: Likewise.
From-SVN: r266098
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions