https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70859
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
These errors should use error_at instead of error() (input_location must die!)
Even with that change, constants and var_decl do not have locations (PR43486),
so input_location would still need to be used unless one manages to pass down
an array of location_t * args_loc to check_builtin_function_arguments.