Issue #5773 has been reported by Aaron Patterson.

----------------------------------------
Bug #5773: bigdecimal comparison raises SystemStackError
https://bugs.ruby-lang.org/issues/5773

Author: Aaron Patterson
Status: Open
Priority: Normal
Assignee: Kenta Murata
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2011-12-15 trunk 34056) [x86_64-darwin11.2.0]


Comparing an uninitialized BigDecimal to another will raise a SysteStackError exception.  For example:

    BigDecimal("1") == BigDecimal.allocate

I've attached a test case that demonstrates this bug.


-- 
http://redmine.ruby-lang.org