--- old/src/share/vm/opto/gcm.cpp 2017-06-28 15:44:31.000000000 -0700 +++ new/src/share/vm/opto/gcm.cpp 2017-06-28 15:44:30.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -931,7 +931,7 @@ Node *n; // Walk over all the nodes from last to first - while (n = iter.next()) { + while ((n = iter.next())) { // Set the latency for the definitions of this instruction partial_latency_of_defs(n); } @@ -1206,7 +1206,7 @@ Node *self; // Walk over all the nodes from last to first - while (self = iter.next()) { + while ((self = iter.next())) { Block* early = get_block_for_node(self); // Earliest legal placement if (self->is_top()) { @@ -1234,7 +1234,7 @@ early->add_inst(self); continue; break; - case Op_CheckCastPP: + case Op_CheckCastPP: { // Don't move CheckCastPP nodes away from their input, if the input // is a rawptr (5071820). Node *def = self->in(1); @@ -1247,6 +1247,9 @@ } break; } + default: + break; + } } // Gather LCA of all uses