diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-23 06:10:12 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-23 06:10:12 +0000 |
| commit | d15fb4cef31c3ae9febb2c1c26e22b9f1b15f948 (patch) | |
| tree | 0b12b08f43eb947d3246bd397a4262839745b026 | |
| parent | 046062c8803070d223140b0f15af9023f269efe6 (diff) | |
| download | ppe42-gcc-d15fb4cef31c3ae9febb2c1c26e22b9f1b15f948.tar.gz ppe42-gcc-d15fb4cef31c3ae9febb2c1c26e22b9f1b15f948.zip | |
* stor-layout.c (place_field): Change rli->size to rli->offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34100 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/stor-layout.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3af63bdfa7..7d3407133a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 existing line number notes appear after the prologue. diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index ad7768f1487..26aa48b28ca 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -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); |

