gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.

2000-06-12  H.J. Lu  <hjl@gnu.org>

	* gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.

From-SVN: r34504
This commit is contained in:
H.J. Lu 2000-06-12 22:45:46 +00:00 committed by Zack Weinberg
parent 9bab6c9035
commit b9b9d06318
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2000-06-12 H.J. Lu <hjl@gnu.org>
* gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
2000-06-12 David Edelsohn <edelsohn@gnu.org>
* aix41.h (SUBTARGET_SWITCHES): Delete threads.

View file

@ -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);