loadpre6.c: Fix prototype of malloc to be portable.

* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
        portable.

From-SVN: r109219
This commit is contained in:
Andreas Jaeger 2006-01-01 13:39:51 +01:00 committed by Andreas Jaeger
parent a7c633eaef
commit 60b81a6fb1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-01-01 Andreas Jaeger <aj@suse.de>
* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
portable.
2006-01-01 Jakub Jelinek <jakub@redhat.com>
PR c++/25294

View File

@ -50,7 +50,7 @@ remove_useless_vars (tree *unexpanded_var_list, int dump_file)
cell = &((*cell)->common.chain);
}
}
extern void *malloc (int) __attribute__ ((malloc));
extern void *malloc (__SIZE_TYPE__) __attribute__ ((malloc));
int
main (void)