naruse / ruby-lang.org wrote: > Prevent GC by volatile [Bug #13150] > > test/ruby/test_marshal.rb test_context_switch (load) and test_gc (dump) > are failed on FreeBSD 10.3 and gcc7 (FreeBSD Ports Collection) 7.0.0 > 20170115 (experimental); RB_GC_GUARD looks not worked well. Have you tried to experiment with making RB_GC_GUARD stronger for gcc7, instead? There may be similar bugs, and I would rather improve RB_GC_GUARD than add volatiles (which are more subtle and have more variance between implementations). Thanks > Modified files: > trunk/marshal.c Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>