Bug 7166 – Internal error: ../ztc/cgxmm.c 60

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-12-26T07:04:00Z
Last change time
2012-10-13T21:53:53Z
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2011-12-26T07:04:22Z
64-bit only: ScalarType inv( ScalarType )( ScalarType expr ) { return One!ScalarType / expr; } template One(T) { enum T One = 1.0 + 0.0i; } /** Issue 52 - Inverting Scalars */ void testIssue52() { cdouble z = 2.0 + 2.0i, invz = inv( z ); }
Comment #1 by bugzilla — 2012-01-27T01:53:33Z
Reduced example: cdouble inv( cdouble expr ) { return (1.0 + 0.0i) / expr; }
Comment #2 by github-bugzilla — 2012-01-27T02:41:46Z
Comment #3 by github-bugzilla — 2012-01-27T02:42:17Z
Comment #4 by braddr — 2012-10-13T21:53:53Z
fix checked in ages ago.