Reduce EQUAL to EQL when the result can be proven equivalent
Bug #1220084 reported by
Elias Martenson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the compiler can deduce that at least one of the arguments to EQUAL is of a type which is not in the set of types are are treated specially by EQUAL, then the expression can be safely reduced to a call to EQL instead.
Attached is the patch and test case for this.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Applied a slightly modified version in 36717964ebcff83 53035062789c08f 223feccf1a, thanks.