diff options
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 |