]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/read-md.h
gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2015 13:45:20 +0000 (13:45 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2015 13:45:20 +0000 (13:45 +0000)
commite7ff515f350d47bf5feb2060426d2dd2984be64d
treeec925b4d8b0de840d466f033d5dfe330f5dc083d
parent36d192dfd5276e8a271750cabfd0bde75cb38933
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225880 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/genattrtab.c
gcc/read-md.c
gcc/read-md.h