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

--- Comment #0 from Andrei Alexandrescu <> 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:


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:
------- You are receiving this mail because: -------

Reply via email to