https://gcc.gnu.org/g:7891c0b450d5ba662fa1817af667b2ba35dee661
commit r16-2048-g7891c0b450d5ba662fa1817af667b2ba35dee661 Author: Jan Hubicka <hubi...@ucw.cz> Date: Mon Jul 7 10:07:53 2025 +0200 Print discriminators in dump_scope_block gcc/ChangeLog: * tree-ssa-live.cc (dump_scope_block): Print discriminators of inlined functions. Diff: --- gcc/tree-ssa-live.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/tree-ssa-live.cc b/gcc/tree-ssa-live.cc index 5b8bfd06bec1..5e0891361dc7 100644 --- a/gcc/tree-ssa-live.cc +++ b/gcc/tree-ssa-live.cc @@ -702,7 +702,10 @@ dump_scope_block (FILE *file, int indent, tree scope, dump_flags_t flags) if (LOCATION_LOCUS (BLOCK_SOURCE_LOCATION (scope)) != UNKNOWN_LOCATION) { expanded_location s = expand_location (BLOCK_SOURCE_LOCATION (scope)); - fprintf (file, " %s:%i", s.file, s.line); + fprintf (file, " %s:%i:%i", s.file, s.line, s.column); + if (has_discriminator (BLOCK_SOURCE_LOCATION (scope))) + fprintf (file, " discrim %i", + get_discriminator_from_loc (BLOCK_SOURCE_LOCATION (scope))); } if (BLOCK_ABSTRACT_ORIGIN (scope)) {