When compiling the attached repro case with
dmd -m64 -g repro.d
Comment #1 by code — 2013-06-01T02:50:06Z
Created attachment 1218
repro case
Comment #2 by turkeyman — 2013-06-03T03:48:06Z
Yep, this is definitely annoying. I just hadn't pestered Walter about it yet.
Thx for the bug! :P
Comment #3 by code — 2013-06-27T09:25:51Z
*** Issue 10450 has been marked as a duplicate of this issue. ***
Comment #4 by bearophile_hugs — 2013-06-27T13:04:53Z
Also take a look at the test cases in Issue 10450
Another test case:
import core.simd: double2;
struct Foo {
double2 x;
this(uint) {
x = [0.0, 0.0];
}
}
void main() {
Foo y = Foo();
}
dmd gives the same error with -g:
Internal error: backend\cgcv.c 2162
ldmd2 gives even without -g:
fpext source and destination must both be a vector or neither
%tmp1 = fpext double 0x7FFC000000000000 to <2 x double>
Broken module found, compilation aborted!