aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2006-01-01 13:39:51 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2006-01-01 13:39:51 +0100
commit60b81a6fb17df8286cb135caf132dde7c6ff475b (patch)
treeeb3e6d4565d7962ab4dde9035f1f284bacb37174 /gcc/testsuite/gcc.dg
parenta7c633eaef3354361d72f73db2220b26344a6649 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c2
1 files changed, 1 insertions, 1 deletions
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)