On 09/30/2016 05:41 AM, David Malcolm wrote:
This patch adds rudimentary column-number tracking to read-md.c, to
give more precise locations for messages for problems in .md files
(and in the RTL frontend I'm working on):
../../src/gcc/config/i386/i386.md:1204:22: error: unknown rtx code
`define_mood_iterator'
../../src/gcc/config/i386/i386.md:1204:25: note: following context is `PTR'
Hmm, ok I suppose.
+ info.loc = file_location ("<internal>", 0, 0);
+ idata->loc = file_location ("<internal>", 0, 0);
+ e->loc = file_location ("built-in", -1, -1);
Use zero consistently maybe as a dummy? Ok either way.
Bernd