Fix PTA info in IPA ICF (PR ipa/84658).
authorMartin Liska <mliska@suse.cz>
Tue, 13 Mar 2018 08:20:27 +0000 (09:20 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 13 Mar 2018 08:20:27 +0000 (08:20 +0000)
commit0dbacfcfadec514b5ccd4ae70fe53dc589ae7439
tree34e19447ee974084a4182df09b8cca148981499b
parent9e61e48e12ae2737f4738c37bfe05de726dc0e2e
Fix PTA info in IPA ICF (PR ipa/84658).

2018-03-13  Martin Liska  <mliska@suse.cz>

PR ipa/84658.
* (sem_item_optimizer::sem_item_optimizer): Initialize new
vector.
(sem_item_optimizer::~sem_item_optimizer): Release it.
(sem_item_optimizer::merge_classes): Register variable aliases.
(sem_item_optimizer::fixup_pt_set): New function.
(sem_item_optimizer::fixup_points_to_sets): Likewise.
* ipa-icf.h: Declare new variables and functions.
2018-03-13  Martin Liska  <mliska@suse.cz>

PR ipa/84658.
* g++.dg/ipa/pr84658.C: New test.

From-SVN: r258480
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr84658.C [new file with mode: 0644]