diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-10-04 06:14:10 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-04 00:14:10 -0600 |
commit | 88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc (patch) | |
tree | efd0274a92c31da3aa85dd7af5b11cbfcf1fa4c6 /gcc | |
parent | 910eabe5013f0feaed1a493a42f3cf577cb90769 (diff) | |
download | gcc-88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc.zip gcc-88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc.tar.gz gcc-88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ggc-none.c | 2 | ||||
-rw-r--r-- | gcc/ggc-page.c | 2 | ||||
-rw-r--r-- | gcc/ggc-simple.c | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6162b0..5401351 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com) + * 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. + * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead of rtunions. diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index 6551e59..d567c8b 100644 --- a/gcc/ggc-none.c +++ b/gcc/ggc-none.c @@ -51,7 +51,7 @@ rtvec ggc_alloc_rtvec (nelt) int nelt; { - int size = sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtunion); + int size = sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtx); rtvec v; v = (rtvec) xmalloc (size); diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 226db4b..879f8fa 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); } diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 536a06e..cb9364b 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -366,7 +366,7 @@ ggc_free_rtvec (v) #endif #ifdef GGC_POISON memset (v, 0xBB, sizeof (*v) + ((GET_NUM_ELEM (&v->vec) - 1) - * sizeof (rtunion))); + * sizeof (rtx))); #endif free (v); |