[PATCH] Unset m_checker in sem_function::init.

Martin Liška mliska@suse.cz
Mon Nov 18 13:08:00 GMT 2019


Hi.

The patch is obvious fix where I forgot to unset m_checker.
No doing that, we call delete m_checker for one which is allocated
on stack.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
I'm going to install the patch.

Thanks,
Martin

gcc/ChangeLog:

2019-11-18  Martin Liska  <mliska@suse.cz>

	PR ipa/92525
	* ipa-icf.c (sem_function::init): Unset m_checker
	at the end of the function.
---
  gcc/ipa-icf.c | 2 ++
  1 file changed, 2 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Unset-m_checker-in-sem_function-init.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191118/4f2c7e51/attachment.bin>


More information about the Gcc-patches mailing list