Skip to content


Browse files Browse the repository at this point in the history
8266892: avoid maybe-uninitialized gcc warnings on linux s390x
Reviewed-by: shade, lucy
  • Loading branch information
MBaesken committed May 11, 2021
1 parent 6575566 commit 9e6e222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/cpu/s390/assembler_s390.inline.hpp
Expand Up @@ -1387,6 +1387,7 @@ inline unsigned int Assembler::get_instruction(unsigned char *pc, unsigned long
// The length as returned from instr_len() can only be 2, 4, or 6 bytes.
// Having a default clause makes the compiler happy.
*instr = 0L; // This assignment is there to make gcc8 happy.
return len;
Expand Down

1 comment on commit 9e6e222

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.