genoutput.c (data): Use a file_location to record the source position.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Jul 2015 13:47:48 +0000 (13:47 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 16 Jul 2015 13:47:48 +0000 (13:47 +0000)
commitca018d3cc0872d88bf3ffab1dc4e11bab6041d8c
treeec73c85210d27d49c4d0db4b0c2864cf3a2466d5
parent8f2463105bc389b72bb78526168a1173eed032ef
genoutput.c (data): Use a file_location to record the source position.

gcc/
* genoutput.c (data): Use a file_location to record the source
position.
(nothing): Delete.
(idata, idata_end): Remove initialization.
(constraint_data): Replace lineno with a file_location.
(output_insn_data): Update after changes to data.
(gen_insn, gen_peephole, gen_expand, gen_split): Likewise.
(scan_operands): Likewise, using *_at rather than *_with_line
functions.
(process_template): Likewise.
(validate_insn_alternatives): Likewise.
(validate_insn_operands): Likewise.
(validate_optab_operands): Likewise.
(init_insn_for_nothing): Initialize idata and idata_end.
(note_constraint): Update after changes to constraint_data,
using at rather than with_line functions.
(mdep_constraint_len): Take a file_location rather than a
line number.  Use at rather than with_line functions.

From-SVN: r225881
gcc/ChangeLog
gcc/genoutput.c