Re: [PATCH 06/14] Fix Wsizeof-pointer-memaccess*.c

2017-12-11 Thread Jason Merrill
On 11/10/2017 04:45 PM, David Malcolm wrote: gcc/c-family/ChangeLog: * c-warn.c (sizeof_pointer_memaccess_warning): Strip any location wrappers from src and dest. Here the existing calls to tree_strip_nop_conversions ought to handle the wrappers. Jason

[PATCH 06/14] Fix Wsizeof-pointer-memaccess*.c

2017-11-10 Thread David Malcolm
gcc/c-family/ChangeLog: * c-warn.c (sizeof_pointer_memaccess_warning): Strip any location wrappers from src and dest. --- gcc/c-family/c-warn.c | 5 + 1 file changed, 5 insertions(+) diff --git a/gcc/c-family/c-warn.c b/gcc/c-family/c-warn.c index 09ef685..245c37d 100644 --- a