projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371ffcf
)
Fix cp_error041.c.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 5 Aug 2008 07:51:54 +0000
(07:51 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 5 Aug 2008 07:51:54 +0000
(07:51 +0000)
[r20985]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
85aa6b9
..
9c9f3ae
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-484,7
+484,7
@@
static ir_type *get_unsigned_int_type_for_bit_size(ir_type *base_tp,
static ir_type *create_bitfield_type(bitfield_type_t *const type)
{
type_t *base = skip_typeref(type->base_type);
- assert(base->kind == TYPE_ATOMIC);
+ assert(base->kind == TYPE_ATOMIC
|| base->kind == TYPE_ENUM
);
ir_type *irbase = get_ir_type(base);
unsigned size = fold_constant(type->size);