diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1997-10-03 19:51:50 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1997-10-03 19:51:50 +0000 |
commit | d8d64559deb2b23c9f3e65b793a01fb695722f2d (patch) | |
tree | adfc5c474c662ea6d74824dd4a387e054218a012 | |
parent | c44e099f650012fd6eb1243b27727e46679d5e2e (diff) | |
download | gcc-d8d64559deb2b23c9f3e65b793a01fb695722f2d.zip gcc-d8d64559deb2b23c9f3e65b793a01fb695722f2d.tar.gz gcc-d8d64559deb2b23c9f3e65b793a01fb695722f2d.tar.bz2 |
Cast alloca return value for char *
From-SVN: r15837
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/flow.c | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ccaceb..90c30fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * i386.h (RETURN_ADDR_RTX): New definition that works for @@ -13,9 +18,9 @@ Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com> Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com> - * pexecute.c: Use spawn if __CYGWIN32__. + * pexecute.c: Use spawn if __CYGWIN32__. - * pexecute.c: Include "config.h" first, as per autoconf manual + * pexecute.c: Include "config.h" first, as per autoconf manual (from Paul Eggert <eggert@twinsun.com>). Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be> @@ -2878,7 +2878,7 @@ print_rtl_with_bb (outf, rtx_first) int max_uid = get_max_uid (); 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)); + char *in_bb_p = (char *) alloca (max_uid * sizeof (enum bb_state)); for (i = 0; i < max_uid; i++) { |