[PATCH] Call free_dominance_info when transformed in DCE (PR rtl-optimization/89242).

Martin Liška mliska@suse.cz
Wed Feb 13 05:56:00 GMT 2019


Hi.

The patch is very similar to r236460 where we should release dominance info
when the CFG is modified.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

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

	PR rtl-optimization/89242
	* dce.c (delete_unmarked_insns): Call free_dominance_info we
	process a transformation.

gcc/testsuite/ChangeLog:

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

	PR rtl-optimization/89242
	* g++.dg/pr89242.C: New test.
---
 gcc/dce.c                      |  1 +
 gcc/testsuite/g++.dg/pr89242.C | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 gcc/testsuite/g++.dg/pr89242.C


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Call-free_dominance_info-when-transformed-in-DCE-PR-.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190213/cd7e0b40/attachment.bin>


More information about the Gcc-patches mailing list