[Bug c/57627] -Wsizeof-pointer-memaccess should make an exception for character types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57627 Martin Sebor changed: What|Removed |Added Keywords||diagnostic
[Bug c/57627] -Wsizeof-pointer-memaccess should make an exception for character types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57627 --- Comment #1 from Harald van Dijk harald at gigawatt dot nl --- I just realised the very similar example void f4(char *dst, char *src) { __builtin_memcpy(dst, src, sizeof(src)); } void f5(unsigned char *dst, unsigned char *src) {