------- Comment #11 from rguenth at gcc dot gnu dot org 2006-02-16 13:25 ------- The problem is we cannot simply use (implicit_)built_in_decl[BUILT_IN_MEMCPY] here either because that one is still the internal one, and if annotating our memcpy decl with __attribute__((__cdecl__)) we warn:
/tmp/t.c:2: warning: conflicting types for built-in function memcpy and keep our one in (implicit_)built_in_decl[BUILT_IN_MEMCPY], still creating the user overridden one. But I have no idea how to get our hands on it here. Still it looks like init_block_move_fn is completely wonky. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22017