Skip to content

Commit f6edfe5

Browse files
committed
8343506: [s390x] multiple test failures with ubsan
Reviewed-by: mdoerr, lucy
1 parent 96eed7f commit f6edfe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/s390/s390.ad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ operand uimmI8() %{
25472547
// operand type int
25482548
// Unsigned Integer Immediate: 9-bit
25492549
operand SSlenDW() %{
2550-
predicate(Immediate::is_uimm8(n->get_long()-1));
2550+
predicate(Immediate::is_uimm8((julong)n->get_long()-1));
25512551
match(ConL);
25522552
op_cost(1);
25532553
format %{ %}

0 commit comments

Comments
 (0)