------- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-01 05:43 ------- The line in the testcase is: extern void *malloc (int) __attribute__ ((malloc));
The correct definition is: extern void *malloc (__SIZE_TYPE__) __attribute__ ((malloc)); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25617