Commit da1e1503 by Alexandre Oliva Committed by Alexandre Oliva

print-rtl.c (print_rtx): Print locators in asm_operands and asm_input.

* print-rtl.c (print_rtx): Print locators in asm_operands
and asm_input.

From-SVN: r152928
parent f49b295a
2009-10-17 Alexandre Oliva <aoliva@redhat.com>
* print-rtl.c (print_rtx): Print locators in asm_operands
and asm_input.
2009-10-17 Alexandre Oliva <aoliva@redhat.com>
PR debug/41535
* sched-deps.c (depl_on_debug_p): New.
(attach_dep_link): Reject debug deps before nondebug deps.
......@@ -385,6 +385,22 @@ print_rtx (const_rtx in_rtx)
fprintf(outfile, " %s:%i", insn_file (in_rtx), insn_line (in_rtx));
#endif
}
else if (i == 6 && GET_CODE (in_rtx) == ASM_OPERANDS)
{
#ifndef GENERATOR_FILE
fprintf (outfile, " %s:%i",
locator_file (ASM_OPERANDS_SOURCE_LOCATION (in_rtx)),
locator_line (ASM_OPERANDS_SOURCE_LOCATION (in_rtx)));
#endif
}
else if (i == 1 && GET_CODE (in_rtx) == ASM_INPUT)
{
#ifndef GENERATOR_FILE
fprintf (outfile, " %s:%i",
locator_file (ASM_INPUT_SOURCE_LOCATION (in_rtx)),
locator_line (ASM_INPUT_SOURCE_LOCATION (in_rtx)));
#endif
}
else if (i == 6 && NOTE_P (in_rtx))
{
/* This field is only used for NOTE_INSN_DELETED_LABEL, and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment