middle-end/105083 - check prerequesites in scev_initialize
authorRichard Biener <rguenther@suse.de>
Tue, 3 May 2022 10:48:43 +0000 (12:48 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 3 May 2022 10:59:09 +0000 (12:59 +0200)
commit7bb6fa5a1c77ef6af26c70e3126a8b1353d1f987
tree5c86d6c80e0891cb2a49a6fb46f165da40d733ff
parent6b4cc784806ac8676a08ecbbeadbd1bfa56073bb
middle-end/105083 - check prerequesites in scev_initialize

2022-05-03  Richard Biener  <rguenther@suse.de>

PR middle-end/105083
* tree-scalar-evolution.cc (scev_initialize): Verify we
have appropriate loop state.
* tree-ssa-dce.cc (perform_tree_ssa_dce): Re-order SCEV and
loop init and finalization.
gcc/tree-scalar-evolution.cc
gcc/tree-ssa-dce.cc