This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] -Wclass-memaccess fixes and improvements (PR c++/81327)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Martin Sebor <msebor at gmail dot com>, Nathan Sidwell <nathan at acm dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 Jan 2018 17:25:19 +0100
- Subject: Re: [C++ PATCH] -Wclass-memaccess fixes and improvements (PR c++/81327)
- Authentication-results: sourceware.org; auth=none
- References: <20180105220231.GH1833@tucnak> <5ee91b70-1513-17c2-896d-d33d7129f14d@gmail.com> <CADzB+2mSWmDLGNONj1HbFso0vKjt34nqfY7gmajnnteGU3Jb0Q@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jan 10, 2018 at 10:46:06AM -0500, Jason Merrill wrote:
> >> This patch moves the warning tiny bit earlier (from build_cxx_call to the
> >> caller) where we still have information about the original parsed
> >> arguments before conversions to the builtin argument types.
>
> OK.
Is that an ack for the whole patch and docs can be handled incrementally
(e.g. if Martin volunteers), or shall that be documented first?
Though, even before this patch memcpy ((char *) whatever, ...)
already disabled the warning and wasn't documented either.
Jakub