On Wed, Mar 03, 2021 at 12:45:54PM -0500, David Malcolm wrote: > > I think it's the D.6750 which is printed via > > > > else if (TREE_CODE (node) == DEBUG_EXPR_DECL) > > { > > if (flags & TDF_NOUID) > > pp_string (pp, "D#xxxx"); > > else > > pp_printf (pp, "D#%i", DEBUG_TEMP_UID (node)); > > > > because this is a DECL_DEBUG_EXPR. > > Wouldn't that print > D#6750 > rather than > D.6750
Sure. The D.6750 case is a few lines later: pp_printf (pp, "%c%c%u", c, uid_sep, DECL_UID (node)); so we'd use pp_character (pp, c); pp_character (pp, uid_sep); pp_decimal_int (pp, DECL_UID (node)); for that one. Jakub