https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124233

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-02-24
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
static std::string
generate_tree_str (tree value)
{
  pretty_printer pp;
  dump_generic_node (&pp, t, 0, flags, true);
  std::string result = pp_formatted_text (&pp);

  if (!result.empty () && result.back () == '\n')
    result.pop_back ();

  return result;
}
```

Reply via email to