From: Eric Wong Date: 2017-01-23T19:37:25+00:00 Subject: [ruby-core:79228] Re: [ruby-cvs:64576] naruse:r57410 (trunk): Prevent GC by volatile [Bug #13150] 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: