When debugging the PR104589 issue, I've run into a problem that
goto_locus doesn't show up in the logs, so it wasn't clear if
the bug hasn't been introduced far earlier just by divergence
in goto_locus of some edge.
2022-03-02 Jakub Jelinek <jakub@redhat.com>
* cfg.cc (dump_edge_info): Dump goto_locus if present.
fputc (')', file);
}
+
+ if (do_details && LOCATION_LOCUS (e->goto_locus) > BUILTINS_LOCATION)
+ fprintf (file, " %s:%d:%d", LOCATION_FILE (e->goto_locus),
+ LOCATION_LINE (e->goto_locus), LOCATION_COLUMN (e->goto_locus));
}
DEBUG_FUNCTION void