[Issue 10626] New: ICE with ternary operator and vector operation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 12 18:44:08 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10626

           Summary: ICE with ternary operator and vector operation
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: nilsbossung at googlemail.com


--- Comment #0 from Nils <nilsbossung at googlemail.com> 2013-07-12 18:44:07 PDT ---
Fails with v2.064-devel-a0ba3b2.
Works with v2.063.2.

---
cat > test.d << code
void main()
{
    double[2] v;
    bool b;
    double[2] result = (b ? 1 : -1) * v[];
}
code
dmd -c -o- test.d
---
dmd: arrayop.c:525: virtual void BinExp::buildArrayIdent(OutBuffer*,
Expressions*): Assertion `0' failed.
Aborted (core dumped)
---

-- 
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