aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-10-10 00:10:14 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-10-10 00:13:30 +0900
commit9b919885a08d6cf3c68cb1bce992feb43a8fad0c (patch)
tree00ed983087ea385c4caac298101fdee0f4389dc5 /bootstraptest
parentbb71a128eb6e901d3d7deb895971a6706eb7110d (diff)
downloadruby-9b919885a08d6cf3c68cb1bce992feb43a8fad0c.tar.gz
fix memory corruption in old GCC
This typo introduced memory corruption when __builtin_add_overflow is not available but uint128_t is. GCC before 5 are one of such situatins. See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/opensuseleap/ruby-master/log/20191009T120004Z.log.html.gz
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_insns.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb
index 3d7f9640a2..1269d7d013 100644
--- a/bootstraptest/test_insns.rb
+++ b/bootstraptest/test_insns.rb
@@ -427,7 +427,6 @@ tests.compact.each do |(insn, expr, *a)|
end
end
-
# with trace
tests.compact.each {|(insn, expr, *a)|
progn = "set_trace_func(proc{})\n" + expr