aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index 24dcc2c..bf1e3de 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -510,7 +510,7 @@ check_init (exp, before)
struct alternatives *alt = alternatives;
while (TREE_CODE (alt->block) != SWITCH_EXPR)
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++)
CLEAR_BIT (before, i);
break;