From: Richard Kenner Date: Sun, 18 Dec 1994 11:54:29 +0000 (-0500) Subject: (layout_decl): Allow DECL_BIT_FIELD for any type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aad19252d36d3a9c264126fbbc0237054fd422c;p=gcc.git (layout_decl): Allow DECL_BIT_FIELD for any type. From-SVN: r8662 --- diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 1f7d5ee11a3..a3c4f5c265a 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -220,13 +220,6 @@ layout_decl (decl, known_align) if (code == FIELD_DECL && DECL_BIT_FIELD (decl)) { - /* This is a bit-field. We don't know how to handle - them except for integral types, and front ends should - never generate them otherwise. */ - - if (! INTEGRAL_TYPE_P (type)) - abort (); - if (spec_size == 0 && DECL_NAME (decl) != 0) abort ();