projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bff175
)
(layout_decl): Allow DECL_BIT_FIELD for any type.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 18 Dec 1994 11:54:29 +0000
(06:54 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 18 Dec 1994 11:54:29 +0000
(06:54 -0500)
From-SVN: r8662
gcc/stor-layout.c
patch
|
blob
|
history
diff --git
a/gcc/stor-layout.c
b/gcc/stor-layout.c
index 1f7d5ee11a3255dc9553613f46e7d423a2d4eb2f..a3c4f5c265a49a7fa1fbf1dc8d1c7f69037b68a8 100644
(file)
--- 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 ();