Bug 6881 – [XMM] ICE with painted float

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-11-02T08:34:00Z
Last change time
2011-12-07T14:56:50Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2011-11-02T08:34:12Z
struct Point { float _x, _y; void rotateCCW() { float tmp = -_x; _x = _y; _y = tmp; } } ---- Compile this struct with -O. findreg(x0, line=660, file='backend/cod4.c') Internal error: backend/cgcod.c 1178 This is probably again an effect of painting -x as integral in eleq and later trying to assign it to an XMM reg.
Comment #1 by bugzilla — 2011-12-07T14:56:50Z