read-md.h (fatal_at): Declare.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Jul 2015 13:45:20 +0000 (13:45 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 16 Jul 2015 13:45:20 +0000 (13:45 +0000)
commit8f2463105bc389b72bb78526168a1173eed032ef
treeec925b4d8b0de840d466f033d5dfe330f5dc083d
parentcc4726077d61d3c73edf2e909a397d78ec447540
read-md.h (fatal_at): Declare.

gcc/
* read-md.h (fatal_at): Declare.
* read-md.c (fatal_at): New function.
* genattrtab.c (insn_def, attr_desc, delay_desc): Use a file_location
to record the source position.
(check_attr_test): Take a file_location instead of a line number.
Use fatal_at instead of fatal.
(check_attr_value): Update after above changes, using "at"
rather than "with_line" reporting functions.
(convert_set_attr_alternative): Likewise.
(gen_attr): Likewise.
(check_defs): Likewise.  Don't assign to read_md_filename.
(gen_insn): Update initialization after above changes.
(gen_delay): Likewise.
(write_insn_cases): Print the filename for a define_peephole.
(gen_insn_reserv): Take a line number as argument and update
the call to check_attr_test.
(main): Pass a line number to gen_insn_reserv.

From-SVN: r225880
gcc/ChangeLog
gcc/genattrtab.c
gcc/read-md.c
gcc/read-md.h