* stor-layout.c (place_field): Change rli->size to rli->offset.

From-SVN: r34100
This commit is contained in:
Richard Henderson 2000-05-22 23:10:12 -07:00 committed by Richard Henderson
parent 6f5ed7369f
commit 163d3408ea
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-05-22 Richard Henderson <rth@cygnus.com>
* stor-layout.c (place_field): Change rli->size to rli->offset.
2000-05-22 Richard Henderson <rth@cygnus.com>
* function.c (thread_prologue_and_epilogue_insns): Make sure

View File

@ -801,7 +801,7 @@ place_field (rli, field)
&& ! DECL_PACKED (field)
&& ! integer_zerop (DECL_SIZE (field))
&& host_integerp (DECL_SIZE (field), 1)
&& host_integerp (rli->size, 1)
&& host_integerp (rli->offset, 1)
&& host_integerp (TYPE_SIZE (type), 1))
{
unsigned int type_align = TYPE_ALIGN (type);