Bug 5012 – ICE(cod3.c): handling a nested function in inline asm.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-10-07T12:23:00Z
Last change time
2015-06-09T05:11:51Z
Keywords
iasm, ice
Assigned to
nobody
Creator
ibuclaw
Comments
Comment #0 by ibuclaw — 2010-10-07T12:23:22Z
eg:
int foo()
{
int bar() {}
asm {
mov EAX, bar;
}
}
Throws an 'Internal error: backend/cod3.c 4519'
Whereas if bar() were global, it would compile just fine.