diff options
author | Andreas Jaeger <aj@suse.de> | 2006-01-01 13:39:51 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2006-01-01 13:39:51 +0100 |
commit | 60b81a6fb17df8286cb135caf132dde7c6ff475b (patch) | |
tree | eb3e6d4565d7962ab4dde9035f1f284bacb37174 | |
parent | a7c633eaef3354361d72f73db2220b26344a6649 (diff) | |
download | gcc-60b81a6fb17df8286cb135caf132dde7c6ff475b.zip gcc-60b81a6fb17df8286cb135caf132dde7c6ff475b.tar.gz gcc-60b81a6fb17df8286cb135caf132dde7c6ff475b.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e953e00..5d880a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c b/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c index 5283f20..a165f01 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c @@ -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) |