[Bug 115] Union literals as rvalues yields different values every run

2014-04-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=115 --- Comment #4 from Iain Buclaw --- (In reply to comment #3) > (In reply to comment #1) > > The problem starts in the frontend, optimize.c(DotVarExp::optimize). > > It optimizes 'func(_f(a).i)' into 'func (a)', so it produces a call to func > > w

[Bug 117] New: Program using core.simd does not compile

2014-04-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=117 Bug ID: 117 Summary: Program using core.simd does not compile Classification: Unclassified Product: GDC Version: 4.8.x Hardware: x86_64 OS: Linux Status: NEW

[Bug 115] Union literals as rvalues yields different values every run

2014-04-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=115 --- Comment #3 from Iain Buclaw --- (In reply to comment #1) > The problem starts in the frontend, optimize.c(DotVarExp::optimize). > It optimizes 'func(_f(a).i)' into 'func (a)', so it produces a call to func > with an incorrectly typed paramete

[Bug 117] Program using core.simd does not compile

2014-04-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=117 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 117] Program using core.simd does not compile

2014-04-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=117 --- Comment #1 from Iain Buclaw --- __simd requires the compiler to expose D_SIMD. Which is not implemented in GDC. And given the nature of the intrinsic, I can't see it ever being introduced. To access SIMD instructions, instead use the gcc.b