* flow.c (create_edge_list): Cast xmalloc return value.
authorJeff Law <law@gcc.gnu.org>
Mon, 13 Dec 1999 07:55:53 +0000 (00:55 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 13 Dec 1999 07:55:53 +0000 (00:55 -0700)
From-SVN: r30886

gcc/ChangeLog
gcc/flow.c

index e880344571db7035279e78ca42d3e12490d3a8ce..72398f2abc738b7ef6b6808cb1b75820b767f31b 100644 (file)
@@ -1,3 +1,11 @@
+Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
+
+       * flow.c (create_edge_list): Cast xmalloc return value.
+
+Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * cse.c: Fix a few minor whitespace goofs.
+
 1999-12-13  Don Bowman  <don@pixstream.com>
 
        * mips/vxworks.h: Fix problem with comment termination.
index cc20485317c1dc4e26b9b5a7ce96314066d1e703..a16d0ed5b2805caa18159c94b5e02ac5e15f6457 100644 (file)
@@ -6009,10 +6009,10 @@ create_edge_list ()
   for (e = ENTRY_BLOCK_PTR->succ; e; e = e->succ_next)
     num_edges++;
 
-  elist = xmalloc (sizeof (struct edge_list));
+  elist = (struct edge_list *) xmalloc (sizeof (struct edge_list));
   elist->num_blocks = block_count;
   elist->num_edges = num_edges;
-  elist->index_to_edge = xmalloc (sizeof (edge) * num_edges);
+  elist->index_to_edge = (edge *) xmalloc (sizeof (edge) * num_edges);
 
   num_edges = 0;