On 12/01/2016 11:12 AM, Dominik Vogt wrote:

diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 77e6b05..5370602 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -371,7 +371,10 @@ rtx_writer::print_rtx_operand_code_i (const_rtx in_rtx, 
int idx)
       if (INSN_HAS_LOCATION (in_insn))
          expanded_location xloc = insn_location (in_insn);
-         fprintf (m_outfile, " \"%s\":%i", xloc.file, xloc.line);
+         if (m_compact)
+           fprintf (m_outfile, " \"%s\":%i", xloc.file, xloc.line);
+         else
+           fprintf (m_outfile, " %s:%i", xloc.file, xloc.line);

I'd like to get our test failure fixed, either by changing
print-rtl.c or our test case.  Is the above patch good for trunk?
It does fix the s390 test failure.

I still don't see a strong reason not to print the quotes, so I'd suggest changing the testcase.


Reply via email to