From: H.J. Lu Date: Mon, 12 Jun 2000 22:45:46 +0000 (+0000) Subject: gengenrtl.c (obstack_alloc_rtx): Correct the allocated size. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9b9d0631835312153ef1ea4992016a81bda1302;p=gcc.git gengenrtl.c (obstack_alloc_rtx): Correct the allocated size. 2000-06-12 H.J. Lu * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size. From-SVN: r34504 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c83f2d861fe..08c7e4e9bc0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-06-12 H.J. Lu + + * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size. + 2000-06-12 David Edelsohn * aix41.h (SUBTARGET_SWITCHES): Delete threads. diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 54dccf1d0df..596c5e23686 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -362,7 +362,7 @@ gencode () puts ("#define obstack_alloc_rtx(n) \\"); puts (" ((rtx) obstack_alloc (rtl_obstack, \\"); puts (" sizeof (struct rtx_def) \\"); - puts (" + ((n) - 2) * sizeof (rtunion)))\n"); + puts (" + ((n) - 1) * sizeof (rtunion)))\n"); for (fmt = formats; *fmt != 0; fmt++) gendef (*fmt);