(layout_decl): Allow DECL_BIT_FIELD for any type.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 18 Dec 1994 11:54:29 +0000 (06:54 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 18 Dec 1994 11:54:29 +0000 (06:54 -0500)
From-SVN: r8662

gcc/stor-layout.c

index 1f7d5ee11a3255dc9553613f46e7d423a2d4eb2f..a3c4f5c265a49a7fa1fbf1dc8d1c7f69037b68a8 100644 (file)
@@ -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 ();