* dbgcnt.def: Add new counter.
* ipa-icf.c (sem_item_optimizer::merge_classes): Use the
counter.
From-SVN: r223288
+2015-05-18 Martin Liska <mliska@suse.cz>
+
+ * dbgcnt.def: Add new counter.
+ * ipa-icf.c (sem_item_optimizer::merge_classes): Use the
+ counter.
+
2015-05-18 Martin Liska <mliska@suse.cz>
* dbgcnt.def: Sort counters.
#include "ipa-icf-gimple.h"
#include "ipa-icf.h"
#include "stor-layout.h"
+#include "dbgcnt.h"
using namespace ipa_icf_gimple;
alias->dump_to_file (dump_file);
}
- merged_p |= source->merge (alias);
+ if (dbg_cnt (merged_ipa_icf))
+ merged_p |= source->merge (alias);
}
}