[ruby-core:80108] [Ruby trunk Bug#13282][Rejected] opt_str_freeze does not always dedupe

From: ko1@...
Date: 2017-03-13 07:50:20 UTC
List: ruby-core #80108
Issue #13282 has been updated by Koichi Sasada.

Status changed from Open to Rejected

for this case, `specialized_instruction` compilation option disable this feature.


----------------------------------------
Bug #13282: opt_str_freeze does not always dedupe
https://bugs.ruby-lang.org/issues/13282#change-63534

* Author: Eric Wong
* Status: Rejected
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED
----------------------------------------
Attached is the same test extracted from test/ruby/test_optimization.rb
but it fails in a standalone context.  Not sure why...

It's not a new breakage in trunk, either.

Testing with some old installs I had around, 2.1.9p490 seems fine,
however even Ruby 2.2.1 seems broken


---Files--------------------------------
opt_str_freeze_not_always_effective.rb (251 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next