aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@info.ucl.ac.be>1997-09-28 09:52:39 +0200
committerJeff Law <law@gcc.gnu.org>1997-09-28 01:52:39 -0600
commitadfc539e947136235c8706764ca5b21a533a59bb (patch)
treec449fb94fb8a687555ec80f9cfac6c4efe8f1181 /gcc
parent771c2d1bb7fbded7459e00591f15149b03b73111 (diff)
downloadgcc-adfc539e947136235c8706764ca5b21a533a59bb.zip
gcc-adfc539e947136235c8706764ca5b21a533a59bb.tar.gz
gcc-adfc539e947136235c8706764ca5b21a533a59bb.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index de41b1e..b326a90 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/flow.c b/gcc/flow.c
index c6de582..f1774dc 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++)