Re: [C++ Patch] Improve cp_truthvalue_conversion locations and more

2019-11-15 Thread Jason Merrill
On 11/12/19 8:57 AM, Paolo Carlini wrote: Hi, a few days ago I noticed that we weren't doing the right thing location-wise for the first test of g++.dg/warn/Waddress-1.C: it seems clear that the ultimate reason is that we didn't pass an accurate location to build_binary_op called from cp_trut

[C++ Patch] Improve cp_truthvalue_conversion locations and more

2019-11-12 Thread Paolo Carlini
Hi, a few days ago I noticed that we weren't doing the right thing location-wise for the first test of g++.dg/warn/Waddress-1.C: it seems clear that the ultimate reason is that we didn't pass an accurate location to build_binary_op called from cp_truthvalue_conversion. When I fixed that, I no