[RFC PATCH] -Wsizeof-pointer-memaccess warning
Paolo Carlini
paolo.carlini@oracle.com
Thu Jul 19 14:59:00 GMT 2012
Hi,
On 07/19/2012 03:16 PM, Jakub Jelinek wrote:
> Also the c-family/ part of it, or just the c/ part? The latter I admit
> is not very nice (another ugliness is that we want the parameters
> before doing standard argument promotions on them).
The latter, the latter.
>> Unrelated, but I can't resist, it would be great if for 4.8 we could
>> also eliminate the duplicate diagnostics noticed in 28656, does that
>> look doable?!? If you have hints I could also do it, in practice.
> The problem there is that memcpy (and I guess many others) ends up with more
> than one nonnull attribute. Untested patch in the PR now.
Thanks!
Paolo.
More information about the Gcc-patches
mailing list