This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH] -Wsizeof-pointer-memaccess warning


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]