diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-12-18 06:54:29 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-12-18 06:54:29 -0500 |
commit | 6aad19252d36d3a9c264126fbbc0237054fd422c (patch) | |
tree | 05e4df8e9f61ae917c78ab2b5fa5a34356d7c52c | |
parent | 5bff1750e9a0857174c435455b6e1a01d4e60429 (diff) | |
download | gcc-6aad19252d36d3a9c264126fbbc0237054fd422c.zip gcc-6aad19252d36d3a9c264126fbbc0237054fd422c.tar.gz gcc-6aad19252d36d3a9c264126fbbc0237054fd422c.tar.bz2 |
(layout_decl): Allow DECL_BIT_FIELD for any type.
From-SVN: r8662
-rw-r--r-- | gcc/stor-layout.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 1f7d5ee..a3c4f5c 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 (); |