Commit 87bd1536 by Eric Botcazou Committed by Eric Botcazou

print-rtl.c (rtx_writer::print_rtx_operand_code_i): Print column information.

	* print-rtl.c (rtx_writer::print_rtx_operand_code_i): Print column
	information.

From-SVN: r264944
parent 23d80241
2018-10-08 Eric Botcazou <ebotcazou@adacore.com> 2018-10-08 Eric Botcazou <ebotcazou@adacore.com>
* print-rtl.c (rtx_writer::print_rtx_operand_code_i): Print column
information.
2018-10-08 Eric Botcazou <ebotcazou@adacore.com>
* cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P * cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P
on the thunk. on the thunk.
...@@ -398,7 +398,8 @@ rtx_writer::print_rtx_operand_code_i (const_rtx in_rtx, int idx) ...@@ -398,7 +398,8 @@ rtx_writer::print_rtx_operand_code_i (const_rtx in_rtx, int idx)
if (INSN_HAS_LOCATION (in_insn)) if (INSN_HAS_LOCATION (in_insn))
{ {
expanded_location xloc = insn_location (in_insn); expanded_location xloc = insn_location (in_insn);
fprintf (m_outfile, " \"%s\":%i", xloc.file, xloc.line); fprintf (m_outfile, " \"%s\":%i:%i", xloc.file, xloc.line,
xloc.column);
} }
#endif #endif
} }
......
2018-10-08 Eric Botcazou <ebotcazou@adacore.com>
* gcc.target/i386/vararg-loc.c: Accept a column number.
2018-10-08 Martin Liska <mliska@suse.cz> 2018-10-08 Martin Liska <mliska@suse.cz>
* gcc.target/i386/i386.exp: Move procedures to * gcc.target/i386/i386.exp: Move procedures to
......
...@@ -23,5 +23,5 @@ f (int a, ...) /* 8. */ ...@@ -23,5 +23,5 @@ f (int a, ...) /* 8. */
} }
/* { dg-final { scan-rtl-dump-not "vararg-loc\\.c.:\[6789\] " "final" } } */ /* { dg-final { scan-rtl-dump-not "vararg-loc\\.c.:\[6789\] " "final" } } */
/* { dg-final { scan-rtl-dump "vararg-loc\\.c.:18 " "final" } } */ /* { dg-final { scan-rtl-dump "vararg-loc\\.c.:18:\[0-9\]+ " "final" } } */
/* { dg-final { scan-rtl-dump "vararg-loc\\.c.:20 " "final" } } */ /* { dg-final { scan-rtl-dump "vararg-loc\\.c.:20:\[0-9\]+ " "final" } } */
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