aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-02-26 06:50:20 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-02-26 06:50:20 -0800
commit5721db78f19fd9fca750f191727cba63ff688e3e (patch)
tree5f699e73b55749b4324316aa7bcc9c4b3ed8e10c /gcc/java/check-init.c
parent2d9e5c79ff118dbe0eea95947a7dfa9cd8fb779a (diff)
downloadgcc-5721db78f19fd9fca750f191727cba63ff688e3e.zip
gcc-5721db78f19fd9fca750f191727cba63ff688e3e.tar.gz
gcc-5721db78f19fd9fca750f191727cba63ff688e3e.tar.bz2
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
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;