re PR debug/61188 (Many -fcompare-debug failures)

gcc/
	PR debug/61188
	* print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.

From-SVN: r210429
This commit is contained in:
Richard Sandiford 2014-05-14 15:53:11 +00:00 committed by Richard Sandiford
parent 7e7e4032f1
commit 25109109c4
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-14 Richard Sandiford <rdsandiford@googlemail.com>
PR debug/61188
* print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
PR target/61084

View File

@ -188,7 +188,12 @@ print_rtx (const_rtx in_rtx)
#endif
if (INSN_CHAIN_CODE_P (GET_CODE (in_rtx)))
fprintf (outfile, " %d", INSN_UID (in_rtx));
{
if (flag_dump_unnumbered)
fprintf (outfile, " #");
else
fprintf (outfile, " %d", INSN_UID (in_rtx));
}
/* Get the format string and skip the first elements if we have handled
them already. */