gensupport.h (compute_test_codes): Take a file_location rather than a line number.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Jul 2015 13:50:08 +0000 (13:50 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 16 Jul 2015 13:50:08 +0000 (13:50 +0000)
commitc9f84f2e1d697a8d6a6e696bd26933ca4a858da0
treeb2ee1ab0865bf93d131b453a750d3d087b3fd325
parentca018d3cc0872d88bf3ffab1dc4e11bab6041d8c
gensupport.h (compute_test_codes): Take a file_location rather than a line number.

gcc/
* gensupport.h (compute_test_codes): Take a file_location rather
than a line number.
* gensupport.c (compute_test_codes): Likewise.  Use *_at functions
rather than *_with_line functions.
(process_define_predicate): Update call to compute_test_codes.
* genpreds.c (validate_exp): Take a file_location rather than a
line number.  Use *_at functions rather than *_with_line functions.
(process_define_predicate): Update call to validate_exp.
(constraint_data): Replace lineno field with a file_location.
(add_constraint): Take a file_location rather than a line number.
Use *_at functions rather than *_with_line functions.  Fix error
message for address constraints.  Update after changes to
validate_exp, constraint_data and compute_test_codes.
(process_define_constraint): Update accordingly.
(process_define_register_constraint): Likewise.

From-SVN: r225882
gcc/ChangeLog
gcc/genpreds.c
gcc/gensupport.c
gcc/gensupport.h