aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-09-29 18:55:48 -0700
committerGitHub <noreply@github.com>2023-09-29 21:55:48 -0400
commit0b67e3fd3ee9969a0c92867bec365104f2b43897 (patch)
treee62dd1b49e3bf16cd0346efad2f43fab220bb671 /bootstraptest
parentf9f728e804367ac8de4709884fec64c13a7cff54 (diff)
downloadruby-0b67e3fd3ee9969a0c92867bec365104f2b43897.tar.gz
YJIT: Chain-guard opt_mult overflow (#8554)
* YJIT: Chain-guard opt_mult overflow * YJIT: Support regenerating Jo after Mul
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_yjit.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb
index f5cfaabe72..999c31fc37 100644
--- a/bootstraptest/test_yjit.rb
+++ b/bootstraptest/test_yjit.rb
@@ -4181,3 +4181,6 @@ assert_equal '[6, -6, 9671406556917033397649408, -9671406556917033397649408, 212
[r1, r2, r3, r4, r5]
}
+
+# Integer multiplication and overflow (minimized regression test from test-basic)
+assert_equal '8515157028618240000', %q{2128789257154560000 * 4}