www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20374] New: Assertion failure: 'e && retregs' hit at

https://issues.dlang.org/show_bug.cgi?id=20374

          Issue ID: 20374
           Summary: Assertion failure: 'e && retregs' hit at cod1.d:1858

           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: petar.p.kirov gmail.com

The following PR:
https://github.com/dlang/phobos/pull/7259 (commit 6912e8c2) fails on the
Win32_64 auto-tester with the following backend assertion:

Assertion failure: 'e && retregs' on line 1858 in file
'C:\cygwin\home\braddr\sandbox\at-client\pull-3829490-Win_32_64\dmd\src\dmd\backend\cod1.d'

You can view the full build log here:
https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=3829490&isPull=true

My guess is that use of std.array.staticArray is what triggered the assertion
failure, but I haven't tried to reduce the bug yet.

--
Nov 08 2019