Commit 5721db78 by Per Bothner

check-init.c (check_init): COPYN takes word count, not bit count.

�
	*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25470
parent 2d9e5c79
...@@ -510,7 +510,7 @@ check_init (exp, before) ...@@ -510,7 +510,7 @@ check_init (exp, before)
struct alternatives *alt = alternatives; struct alternatives *alt = alternatives;
while (TREE_CODE (alt->block) != SWITCH_EXPR) while (TREE_CODE (alt->block) != SWITCH_EXPR)
alt = alt->outer; alt = alt->outer;
COPYN (before, alt->saved, alt->num_locals); COPYN (before, alt->saved, WORDS_NEEDED (alt->num_locals));
for (i = alt->num_locals; i < num_current_locals; i++) for (i = alt->num_locals; i < num_current_locals; i++)
CLEAR_BIT (before, i); CLEAR_BIT (before, i);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment