Re: [C++ Patch] Fix cp_build_binary_op locations

2019-10-09 Thread Jason Merrill
On 10/9/19 10:23 AM, Paolo Carlini wrote: Hi, this largely mechanical patch fixes those errors in cp_build_binary_op which weren't exploiting yet the op_location_t argument, thus aligning the locations to those of the C front-end. Plus an additional use for DECL_SOURCE_LOCATION in decl.c. Tes

[C++ Patch] Fix cp_build_binary_op locations

2019-10-09 Thread Paolo Carlini
Hi, this largely mechanical patch fixes those errors in cp_build_binary_op which weren't exploiting yet the op_location_t argument, thus aligning the locations to those of the C front-end. Plus an additional use for DECL_SOURCE_LOCATION in decl.c. Tested x86_64-linux. Thanks, Paolo. ///