Commit d8d64559 by Michael Meissner

Cast alloca return value for char *

From-SVN: r15837
parent c44e099f
Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
* flow.c (print_rtl_with_bb): Cast alloca return value for
in_bb_p.
Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com> Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
* i386.h (RETURN_ADDR_RTX): New definition that works for * i386.h (RETURN_ADDR_RTX): New definition that works for
......
...@@ -2878,7 +2878,7 @@ print_rtl_with_bb (outf, rtx_first) ...@@ -2878,7 +2878,7 @@ print_rtl_with_bb (outf, rtx_first)
int max_uid = get_max_uid (); int max_uid = get_max_uid ();
int *start = (int *) alloca (max_uid * sizeof (int)); int *start = (int *) alloca (max_uid * sizeof (int));
int *end = (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)); char *in_bb_p = (char *) alloca (max_uid * sizeof (enum bb_state));
for (i = 0; i < max_uid; i++) for (i = 0; i < max_uid; i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment