From 88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 4 Oct 1999 06:14:10 +0000 Subject: ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion. * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion. * gcc-page.c (ggc_alloc_rtvec): Similarly. * gcc-simple (ggc_free_rtvec): Similarly. From-SVN: r29793 --- gcc/ggc-page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ggc-page.c') diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 226db4b7466..879f8fa776d 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -795,7 +795,7 @@ ggc_alloc_rtvec (nelt) int nelt; { return (struct rtvec_def *) - alloc_obj (sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtunion), 1); + alloc_obj (sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtx), 1); } -- cgit v1.2.1