Bug 17383 – ICE ddmd/backend/cgxmm.c 930

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-05-08T15:39:00Z
Last change time
2017-06-16T17:32:25Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
radu.racariu

Comments

Comment #0 by radu.racariu — 2017-05-08T15:39:31Z
When building a fairly complex project in release mode under Linux x64 I get the error: Internal error: ddmd/backend/cgxmm.c 930 dmd failed with exit code 1. I can reproduce this error in 2.0.73 and 2.0.74. The compiler used: DMD64 D Compiler v2.074.0 Copyright (c) 1999-2017 by Digital Mars written by Walter Bright
Comment #1 by radu.racariu — 2017-06-16T17:22:52Z
This snippet will kill the compiler when compiling with optimizations on (-O optimize) ----------bug.d---------- bool bug(double d) { return d % 2 != 0; } ----------bug.d---------- dmd -c -O bug.d Internal error: backend\cg87.c 1517 dmd --version DMD32 D Compiler v2.073.0 Copyright (c) 1999-2016 by Digital Mars written by Walter Bright
Comment #2 by radu.racariu — 2017-06-16T17:26:58Z
To get the bug original ICE message just run: dmd -c -O -m64 bug.d Internal error: backend\cgxmm.c 930
Comment #3 by ag0aep6g — 2017-06-16T17:32:25Z
*** This issue has been marked as a duplicate of issue 13819 ***