OSDN Git Service

* flow.c (print_rtl_with_bb): Cast alloca return values for variables
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Sep 1997 07:52:39 +0000 (07:52 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Sep 1997 07:52:39 +0000 (07:52 +0000)
        start and end.

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

gcc/ChangeLog
gcc/flow.c

index de41b1e..b326a90 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 28 01:55:04 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * flow.c (print_rtl_with_bb): Cast alloca return values for variables
+       start and end.
+
 Sun Sep 28 01:05:16 1997  Jeffrey A Law  (law@cygnus.com)
 
        * frame.c: Remove last change.
index c6de582..f1774dc 100644 (file)
@@ -2870,8 +2870,8 @@ print_rtl_with_bb (outf, rtx_first)
       int i, bb;
       enum bb_state { NOT_IN_BB, IN_ONE_BB, IN_MULTIPLE_BB };
       int max_uid = get_max_uid ();
-      int *start = alloca (max_uid * sizeof (int));
-      int *end = alloca (max_uid * sizeof (int));
+      int *start = (int *) alloca (max_uid * sizeof (int));
+      int *end = (int *) alloca (max_uid * sizeof (int));
       char *in_bb_p = alloca (max_uid * sizeof (enum bb_state));
 
       for (i = 0; i < max_uid; i++)