projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9e5c7
)
check-init.c (check_init): COPYN takes word count, not bit count.
author
Per Bothner
<bothner@gcc.gnu.org>
Fri, 26 Feb 1999 14:50:20 +0000
(06:50 -0800)
committer
Per Bothner
<bothner@gcc.gnu.org>
Fri, 26 Feb 1999 14:50:20 +0000
(06:50 -0800)
�
* check-init.c (check_init): COPYN takes word count, not bit count.
From-SVN: r25470
gcc/java/check-init.c
patch
|
blob
|
history
diff --git
a/gcc/java/check-init.c
b/gcc/java/check-init.c
index 24dcc2c714c1035afaa4e437dc89af6e1da18297..bf1e3deb6a846e779e5bd2cc8a33d679396a8206 100644
(file)
--- 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;