re PR rtl-optimization/92610 (ICE in calc_dfs_tree, at dominance.c:458 since r270940)
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Nov 2019 10:05:31 +0000 (11:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Nov 2019 10:05:31 +0000 (11:05 +0100)
commitba585b91532b5cb382f1e2d21be50e728bca1da0
tree6f7a47c199276ff4edb1b2d1d49f104db70e995a
parent41149acaff5ccb046ebf8ac7ae6eadb147f6f6b8
re PR rtl-optimization/92610 (ICE in calc_dfs_tree, at dominance.c:458 since r270940)

PR rtl-optimization/92610
* cse.c (rest_of_handle_cse2): Call cleanup_cfg (0) also if
cse_cfg_altered is set, even when tem is 0.
(rest_of_handle_cse_after_global_opts): Likewise.

* g++.dg/opt/pr92610.C: New test.

From-SVN: r278640
gcc/ChangeLog
gcc/cse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr92610.C [new file with mode: 0644]