http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-04 15:55:13 UTC --- See -Wsizeof-pointer-memaccess warning added in GCC 4.8. Currently it only warns about a handful of builtin functions there is no attribute to annotate user functions if they want similar behavior, but at least for various memory/string functions, s*printf etc. you'll get warnings.