On Wed, May 4, 2016 at 9:00 AM, Marek Polacek <pola...@redhat.com> wrote:
> On Tue, May 03, 2016 at 08:05:47PM -0400, Jason Merrill wrote:
>> Looks good.
>>
>> But I don't see a C++ testcase; can the test go into c-c++-common?
>
> Sadly, no.  As of now, the patch doesn't improve things for C++ (?).  Seems
> we'd need to pass better locations down to pointer_int_sum / size_in_bytes.
> It cascades :(.

Sure.  But can you fix that, too, while you're thinking about it?
Passing the location to cp_pointer_int_sum and pointer_diff seems
pretty simple.

Jason

Reply via email to