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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Nils <[email protected]> 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: -------