Remove dead code in IPA ICF.
2019-06-04 Martin Liska <mliska@suse.cz> * ipa-icf.c (INCLUDE_LIST): Remove. (sem_item_optimizer::execute): Remove call to init_wpa. * ipa-icf.h (init_wpa): Remove. From-SVN: r271908
This commit is contained in:
parent
7855700e63
commit
c790e3ece6
|
@ -1,3 +1,9 @@
|
|||
2019-06-04 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* ipa-icf.c (INCLUDE_LIST): Remove.
|
||||
(sem_item_optimizer::execute): Remove call to init_wpa.
|
||||
* ipa-icf.h (init_wpa): Remove.
|
||||
|
||||
2019-06-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gimplify.c (gimplify_scan_omp_clauses): Don't sorry_at on lastprivate
|
||||
|
|
|
@ -52,7 +52,6 @@ along with GCC; see the file COPYING3. If not see
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#define INCLUDE_LIST
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "backend.h"
|
||||
|
@ -2545,9 +2544,6 @@ sem_item_optimizer::execute (void)
|
|||
fprintf (dump_file, "Dump after hash based groups\n");
|
||||
dump_cong_classes ();
|
||||
|
||||
for (unsigned int i = 0; i < m_items.length(); i++)
|
||||
m_items[i]->init_wpa ();
|
||||
|
||||
subdivide_classes_by_equality (true);
|
||||
|
||||
if (dump_file)
|
||||
|
|
|
@ -190,9 +190,6 @@ public:
|
|||
/* Dump function for debugging purpose. */
|
||||
DEBUG_FUNCTION void dump (void);
|
||||
|
||||
/* Initialize semantic item by info reachable during LTO WPA phase. */
|
||||
virtual void init_wpa (void) = 0;
|
||||
|
||||
/* Semantic item initialization function. */
|
||||
virtual void init (void) = 0;
|
||||
|
||||
|
@ -325,10 +322,6 @@ public:
|
|||
|
||||
~sem_function ();
|
||||
|
||||
inline virtual void init_wpa (void)
|
||||
{
|
||||
}
|
||||
|
||||
virtual void init (void);
|
||||
virtual bool equals_wpa (sem_item *item,
|
||||
hash_map <symtab_node *, sem_item *> &ignored_nodes);
|
||||
|
@ -432,8 +425,6 @@ public:
|
|||
|
||||
sem_variable (varpool_node *_node, bitmap_obstack *stack);
|
||||
|
||||
inline virtual void init_wpa (void) {}
|
||||
|
||||
/* Semantic variable initialization function. */
|
||||
inline virtual void init (void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue