Commit 6aad1925 by Richard Kenner

(layout_decl): Allow DECL_BIT_FIELD for any type.

From-SVN: r8662
parent 5bff1750
...@@ -220,13 +220,6 @@ layout_decl (decl, known_align) ...@@ -220,13 +220,6 @@ layout_decl (decl, known_align)
if (code == FIELD_DECL && DECL_BIT_FIELD (decl)) 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) if (spec_size == 0 && DECL_NAME (decl) != 0)
abort (); abort ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment