projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c5c58
)
fix assert: there are initializers with size==0
author
Matthias Braun
<matze@braunis.de>
Wed, 21 Nov 2012 16:48:36 +0000
(17:48 +0100)
committer
Matthias Braun
<matze@braunis.de>
Wed, 21 Nov 2012 16:49:29 +0000
(17:49 +0100)
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
2ffa499
..
68e5523
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-944,7
+944,7
@@
static void emit_ir_initializer(normal_or_bitfield *vals,
const ir_initializer_t *initializer,
ir_type *type)
{
- assert((size_t) (vals - glob_vals) < max_vals);
+ assert((size_t) (vals - glob_vals) <
=
max_vals);
if (initializer_is_string_const(initializer)) {
assert(vals->kind != BITFIELD);