From bd8d8cf2ff8c380b174df4e4c21f38c66a1625ba Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 19 Jul 2007 09:33:53 +0000 Subject: [PATCH] Fix off-by-one error when sparsely initialising an array. [r15240] --- ir/be/begnuas.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ir/be/begnuas.c b/ir/be/begnuas.c index 7269b3fe8..8e8c5bd78 100644 --- a/ir/be/begnuas.c +++ b/ir/be/begnuas.c @@ -583,7 +583,6 @@ static void dump_compound_init(be_gas_decl_env_t *env, obstack_t *obst, } ++i; - space = 0; while (i < last_ofs && vals[i].kind == NORMAL && vals[i].v.value == NULL) { ++space; ++i; -- 2.20.1