http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36282
Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-03-21 CC| |aldot at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #3 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> 2013-03-21 18:21:00 UTC --- Confirmed. Still the same with gcc version 4.7.2 (Debian 4.7.2-5): $ cat <<EOF | gcc -x c -c - -o /dev/null #pragma weak __pthread_initialize extern void *memcpy(void *dest, const void *src, int n); extern typeof(memcpy) memcpy asm("__GI_memcpy"); EOF <stdin>:2:14: warning: conflicting types for built-in function ‘memcpy’ [enabled by default] <stdin>:3:1: warning: asm declaration ignored due to conflict with previous rename [-Wpragmas]