diff options
Diffstat (limited to 'gcc/stor-layout.c')
| -rw-r--r-- | gcc/stor-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 6f6b3107841..02998365804 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1352,7 +1352,7 @@ place_field (record_layout_info rli, tree field) /* Cause a new bitfield to be captured, either this time (if currently a bitfield) or next time we see one. */ - if (!DECL_BIT_FIELD_TYPE(field) + if (!DECL_BIT_FIELD_TYPE (field) || integer_zerop (DECL_SIZE (field))) rli->prev_field = NULL; } |

