[ruby-cvs:65570] nobu:r58398 (trunk): compile.c: wrong optimization

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Apr 18 22:14:07 JST 2017


nobu	2017-04-18 22:14:06 +0900 (Tue, 18 Apr 2017)

  New Revision: 58398

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58398

  Log:
    compile.c: wrong optimization
    
    * compile.c (compile_branch_condition): expression which has side
      effects should not be eliminated.
      [ruby-core:80740] [Bug #13444]

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_optimization.rb


More information about the ruby-cvs mailing list