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 :(. Marek