http://d.puremagic.com/issues/show_bug.cgi?id=4426
Summary: assert(condition, string) fails in std.array.back Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: and...@metalanguage.com --- Comment #0 from Andrei Alexandrescu <and...@metalanguage.com> 2010-07-04 13:57:23 PDT --- This test inside std.array.back causes a segfault: assert(a.length, "Attempting to fetch the back of an empty array"); This doesn't: assert(a.length); The bug seems to manifest itself only on Linux and only in release mode. To reproduce, build Phobos on Linux like this: make -f linux.mak unittest BUILD=release DMDEXTRAFLAGS="-version=bugXXXX" where XXXX is the number of this bug report. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------