diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-05-09 14:19:34 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-05-09 14:19:34 +0200 |
commit | cc603b4051d06937fbb33e1e591a444ab06cb8e0 (patch) | |
tree | c1f4031d751a72bcb375c94b569111b8fe819d4a /gcc/go | |
parent | 97e574d82ffed72dbdbefb529ce0c3ff75551d3d (diff) | |
download | gcc-cc603b4051d06937fbb33e1e591a444ab06cb8e0.zip gcc-cc603b4051d06937fbb33e1e591a444ab06cb8e0.tar.gz gcc-cc603b4051d06937fbb33e1e591a444ab06cb8e0.tar.bz2 |
re PR tree-optimization/53226 (Endless loop in forwprop)
PR tree-optimization/53226
* tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Remove
prev and prev_initialized vars, gimple_set_plf (stmt, GF_PLF_1, false)
before processing it and gimple_set_plf (stmt, GF_PLF_1, true) if it
doesn't need to be revisited, look for earliest stmt with
!gimple_plf (stmt, GF_PLF_1) if something changed.
* gcc.c-torture/compile/pr53226.c: New test.
From-SVN: r187328
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions