summaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-26 14:50:20 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-26 14:50:20 +0000
commit08c93edde403cb191f1a663f2c78a7b5c3515b2e (patch)
tree5f699e73b55749b4324316aa7bcc9c4b3ed8e10c /gcc/java/check-init.c
parent950f64eeada8b026234ad3439a80bd8197184292 (diff)
downloadgcc-08c93edde403cb191f1a663f2c78a7b5c3515b2e.tar.gz
* check-init.c (check_init): COPYN takes word count, not bit count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25470 138bc75d-0d04-0410-961f-82ee72b054a4
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 24dcc2c714c..bf1e3deb6a8 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;