← Back to index
|
Original Bugzilla link
Bug 1020 – regression: mov EAX, func
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-03-04T05:02:00Z
Last change time
2014-02-16T15:24:09Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2007-03-04T05:02:43Z
# void func(){ # } # # int main(){ # void* a = &func; # uint* b = cast(uint*) a; # uint f = *b; # uint g; # # asm{ # mov EAX, func; # mov g, EAX; # } # # if(f != g){ # assert(0); # } # # return 0; # } -O : Internal error: ../ztc/cod3.c 1760 -g -O: compiler segfault test case:
http://dstress.kuehne.cn/run/a/asm_mov_04_A.d
a.d
Comment #1
by bugzilla — 2007-03-19T17:40:25Z
Fixed DMD 1.009