flow.c (print_rtl_with_bb): Cast alloca return values for variables start and end.

* flow.c (print_rtl_with_bb): Cast alloca return values for variables
        start and end.

From-SVN: r15753
This commit is contained in:
Philippe De Muyter 1997-09-28 09:52:39 +02:00 committed by Jeff Law
parent 771c2d1bb7
commit adfc539e94
2 changed files with 7 additions and 2 deletions

View 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.

View 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++)