[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 28 13:58:26 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7978
--- Comment #5 from Brad Anderson <eco at gnuk.net> 2012-12-28 13:58:24 PST ---
(In reply to comment #4)
> Tested with 2.060 on DPaste:
>
> 32 bits 64 bits.
> DMD PASS(1) FAIL
> GDC FAIL PASS(2)
> LDC FAIL FAIL
>
> (1) output: ["a", "b", "0", "1", "2"]
> (2) output: ["a", "b", "\x01\x000", "\x01\x001", "\x01\x002"])
>
> http://dpaste.dzfl.pl/fork/2cd77316
I'd just like to add that the PASS cases are still incorrect (obviously since
the output differs). They do build though which is what someone reading this
should take "PASS" to mean. I just tried with DMD git (2.061 alpha-ish at the
moment) and it throws this error message now:
Error: function std.range.chain!(string[],MapResult!(__lambda2,
Result)).chain.Result.save cannot get frame pointer to gen
So at least the compiler seems to be somewhat aware of a frame pointer problem
now although it should be able to accept it by creating a closure for this bug
to be fixed.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list