tree-optimization/94352 - fix uninitialized use of curr_order
authorRichard Biener <rguenther@suse.de>
Fri, 27 Mar 2020 12:52:31 +0000 (13:52 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 27 Mar 2020 12:55:22 +0000 (13:55 +0100)
commit917e21e8bcddf5047ee0ced063fca412ad81ce7f
tree712940243609094303e281ecb23793f08e976b13
parent62ede14d30f5d083f1ab23bcab6e0e3c9c649006
tree-optimization/94352 - fix uninitialized use of curr_order

This fixes a (harmless) use of a not re-initialized curr_order.

2020-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/94352
* tree-ssa-propagate.c (ssa_prop_init): Move seeding of the
worklist ...
(ssa_propagation_engine::ssa_propagate): ... here after
initializing curr_order.
gcc/ChangeLog
gcc/tree-ssa-propagate.c