This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 06/14] Fix Wsizeof-pointer-memaccess*.c
- From: Jason Merrill <jason at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: Nathan Sidwell <nathan at acm dot org>, Jakub Jelinek <jakub at redhat dot com>, Richard Biener <richard dot guenther at gmail dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 11 Dec 2017 18:37:02 -0500
- Subject: Re: [PATCH 06/14] Fix Wsizeof-pointer-memaccess*.c
- Authentication-results: sourceware.org; auth=none
- References: <CADzB+2kfB26fTGXk2AVWuN1mv641OrcEBze+Lq-KexXHeS=Y9A@mail.gmail.com> <1510350329-48956-1-git-send-email-dmalcolm@redhat.com> <1510350329-48956-7-git-send-email-dmalcolm@redhat.com>
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