gcc/ChangeLog:
* dbgcnt.def (DEBUG_COUNTER): Add ipa_mod_ref debug counter.
* tree-ssa-alias.c (modref_may_conflict): Handle the counter.
DEBUG_COUNTER (if_conversion)
DEBUG_COUNTER (if_conversion_tree)
DEBUG_COUNTER (ipa_cp_bits)
+DEBUG_COUNTER (ipa_mod_ref)
DEBUG_COUNTER (ipa_sra_params)
DEBUG_COUNTER (ipa_sra_retvalues)
DEBUG_COUNTER (ira_move)
#include "ipa-modref.h"
#include "attr-fnspec.h"
#include "errors.h"
+#include "dbgcnt.h"
/* Broad overview of how alias analysis on gimple works:
if (tt->every_base)
return true;
+ if (!dbg_cnt (ipa_mod_ref))
+ return true;
+
base_set = ao_ref_base_alias_set (ref);
ref_set = ao_ref_alias_set (ref);