https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102202 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Likewise for memcpy: typedef decltype(sizeof(0)) size_t; void g(size_t a, char *d, char *e) { __builtin_memcpy(d, e, a&1); }