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
This commit is contained in:
parent
23d8024177
commit
87bd153645
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -398,7 +398,8 @@ 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);
|
||||
fprintf (m_outfile, " \"%s\":%i:%i", xloc.file, xloc.line,
|
||||
xloc.column);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* gcc.target/i386/i386.exp: Move procedures to
|
||||
|
@ -23,5 +23,5 @@ f (int a, ...) /* 8. */
|
||||
}
|
||||
|
||||
/* { 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.:20 " "final" } } */
|
||||
/* { dg-final { scan-rtl-dump "vararg-loc\\.c.:18:\[0-9\]+ " "final" } } */
|
||||
/* { dg-final { scan-rtl-dump "vararg-loc\\.c.:20:\[0-9\]+ " "final" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user