* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Jan 2006 12:39:51 +0000 (12:39 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Jan 2006 12:39:51 +0000 (12:39 +0000)
        portable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109219 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c

index e953e00..5d880a0 100644 (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
index 5283f20..a165f01 100644 (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)