From: Philippe De Muyter Date: Sun, 28 Sep 1997 07:52:39 +0000 (+0200) Subject: flow.c (print_rtl_with_bb): Cast alloca return values for variables start and end. X-Git-Tag: releases/egcs-1.0.0~448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adfc539e947136235c8706764ca5b21a533a59bb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de41b1e18933..b326a90796b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Sep 28 01:55:04 1997 Philippe De Muyter + + * 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. diff --git a/gcc/flow.c b/gcc/flow.c index c6de5825861d..f1774dc33293 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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++)