gcc/analyzer/ChangeLog:
* program-state.cc (sm_state_map::print): Guard the printing of
the origin pointer with !flag_dump_noaddr.
* region.cc (string_region::dump_to_pp): Likewise for
m_string_cst.
if (e.m_origin)
{
pp_string (pp, " (origin: ");
- pp_pointer (pp, e.m_origin);
- pp_string (pp, ": ");
+ if (!flag_dump_noaddr)
+ {
+ pp_pointer (pp, e.m_origin);
+ pp_string (pp, ": ");
+ }
e.m_origin->dump_to_pp (pp, simple);
if (model)
if (tree rep = model->get_representative_tree (e.m_origin))
{
pp_string (pp, "string_region(");
dump_tree (pp, m_string_cst);
- pp_string (pp, " (");
- pp_pointer (pp, m_string_cst);
- pp_string (pp, "))");
+ if (!flag_dump_noaddr)
+ {
+ pp_string (pp, " (");
+ pp_pointer (pp, m_string_cst);
+ pp_string (pp, "))");
+ }
}
}