Call free_dominance_info when transformed in DCE (PR rtl-optimization/89242).
commit696c5b27c524cf65c6b06e93e62f047faad40a78
authorMartin Liska <mliska@suse.cz>
Thu, 14 Feb 2019 11:30:58 +0000 (14 12:30 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 14 Feb 2019 11:30:58 +0000 (14 11:30 +0000)
tree025cb0cd849aa9f62b7fc8bd4f825d4c9de60fa0
parent133342f061ca8d9746484db81ddbb7e493618209
Call free_dominance_info when transformed in DCE (PR rtl-optimization/89242).

2019-02-14  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/89242
* dce.c (delete_unmarked_insns): Call free_dominance_info we
process a transformation.
2019-02-14  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/89242
* g++.dg/pr89242.C: New test.

From-SVN: r268873
gcc/ChangeLog
gcc/dce.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr89242.C [new file with mode: 0644]