Following test case has wrong prototypes of malloc/memset and this is the fix.
* gcc.dg/lto/20090218-2_1.c: Fix prototype of malloc, memcpy. Index: gcc.dg/lto/20090218-2_1.c =================================================================== --- gcc.dg/lto/20090218-2_1.c (revision 183150) +++ gcc.dg/lto/20090218-2_1.c (working copy) @@ -4,8 +4,8 @@ int main(void) { return 0; } -void *malloc(unsigned long size); -void *memcpy(void *dest, const void *src, unsigned long n); +void *malloc(__SIZE_TYPE__ size); +void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n); static mem_attrs * get_mem_attrs () { void **slot; *slot = malloc (3);