diff options
Diffstat (limited to 'gcc/config/frv/frv.c')
-rw-r--r-- | gcc/config/frv/frv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index a5c3313f6e8..0918b9835b9 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -6482,7 +6482,8 @@ int frv_adjust_field_align (tree field, int computed) { /* Make sure that the bitfield is not wider than the type. */ - if (DECL_BIT_FIELD (field) + if (field + && DECL_BIT_FIELD (field) && !DECL_ARTIFICIAL (field)) { tree parent = DECL_CONTEXT (field); |