diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-15 15:43:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-15 15:43:42 +0000 |
commit | 16f2a716d9132d7624473f0c91d63045f25a7bc9 (patch) | |
tree | 61c7a3e450f8f4d8891ed1e993fc6c3483f72fcf /gnu/usr.bin/gcc/stor-layout.c | |
parent | 5b8bc6cfc27b80e98588790026b0fe51f3044268 (diff) |
Merge of GCC 2.7.2.1
Diffstat (limited to 'gnu/usr.bin/gcc/stor-layout.c')
-rw-r--r-- | gnu/usr.bin/gcc/stor-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/stor-layout.c b/gnu/usr.bin/gcc/stor-layout.c index 8cdbf86aa80..e743c373766 100644 --- a/gnu/usr.bin/gcc/stor-layout.c +++ b/gnu/usr.bin/gcc/stor-layout.c @@ -437,7 +437,7 @@ layout_record (rec) That can happen because the width exceeds BIGGEST_ALIGNMENT or because it exceeds maximum_field_alignment. */ if (const_size / type_align - != (const_size + field_size - 1) / type_align) + != (const_size + (field_size % type_align) - 1) / type_align) const_size = CEIL (const_size, type_align) * type_align; } #endif |