http://d.puremagic.com/issues/show_bug.cgi?id=6813
Summary: Yet another "cannot get frame pointer" error Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-10-14 09:02:28 PDT --- import std.range, std.algorithm; void main() { auto arr1 = [1, 2, 3, 4, 5]; float[] f = [1, 2, 3, 4, 5]; auto ind = sort!((int a, int b) { return f[a] > f[b]; })([1, 2, 3, 4, 5]); auto result = indexed(arr1, ind); } $ dmd -inline test.d /cis/home/dsimcha/dmd2/linux/bin64/../../src/phobos/std/range.d(5962): Error: function std.range.Indexed!(int[],SortedRange!(int[],__dgliteral1)).Indexed.save cannot get frame pointer to main /cis/home/dsimcha/dmd2/linux/bin64/../../src/phobos/std/range.d(6001): Error: function std.range.Indexed!(int[],SortedRange!(int[],__dgliteral1)).Indexed.opSlice cannot get frame pointer to main I can only reproduce this on Linux, only with -inline and only with the call to sort(), which isn't related in any obvious way. I can't reproduce it with GDC, meaning it's likely a backend bug. Therefore, my guess is that this bug is somehow related to Linux exception handling. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------