Skip to content

Commit 5e70a86

Browse files
committed
8324530: Build error with gcc 10
Reviewed-by: andrew
1 parent 53e0826 commit 5e70a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hotspot/src/share/vm/ci/ciMethodBlocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static const char *flagnames[] = {
379379

380380
void ciBlock::dump() {
381381
tty->print(" [%d .. %d), {", _start_bci, _limit_bci);
382-
for (int i = 0; i < 8; i++) {
382+
for (int i = 0; i < 7; i++) {
383383
if ((_flags & (1 << i)) != 0) {
384384
tty->print(" %s", flagnames[i]);
385385
}

0 commit comments

Comments
 (0)