--- old/src/share/vm/adlc/archDesc.hpp 2016-07-11 22:46:07.961512364 +0900 +++ new/src/share/vm/adlc/archDesc.hpp 2016-07-11 22:46:07.825512840 +0900 @@ -113,9 +113,9 @@ EncodeForm *_encode; // Only one Encode Form allowed PipelineForm *_pipeline; // Pipeline Form for output - bool _has_match_rule[_last_opcode]; // found AD rule for ideal node in .ad + bool _has_match_rule[static_cast(Opcodes::_last_opcode)]; // found AD rule for ideal node in .ad - MatchList *_mlistab[_last_opcode]; // Array of MatchLists + MatchList *_mlistab[static_cast(Opcodes::_last_opcode)]; // Array of MatchLists // The Architecture Description identifies which user-defined operand can be used // to access [stack_pointer + offset]