[Issue 10918] New: ICE involving array ops on real[]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 28 20:27:53 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10918
Summary: ICE involving array ops on real[]
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: hsteoh at quickfur.ath.cx
--- Comment #0 from hsteoh at quickfur.ath.cx 2013-08-28 20:27:51 PDT ---
Code (reduced courtesy of dustmite):
-------------vec.d--------------
static this() {
(real[][] args...) {
real[] result;
result[] = args[0][] / args[1][0];
}
;
}
--------------------------------
Compile line: dmd -m64 -O -inline -unittest -c -ofvec.o vec.d
Compiler output:
--------------------------------
dmd: arrayop.c:526: virtual void BinExp::buildArrayIdent(OutBuffer*,
Expressions*): Assertion `0' failed.
Aborted
--------------------------------
Tested on git HEAD (0362ae81d1cba6d2c4a135e40c40ddaf5617601f). This code used
to work in earlier versions of DMD (I didn't check exactly when it broke, but
I'm pretty sure 2.063.2 worked).
--
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