March 27, 2005 Internal error: ..\ztc\cg87.c 279 | ||||
---|---|---|---|---|
| ||||
<code>
float x;
void foo()
{
x = -x;
}
void bar()
{
return foo();
}
void main() {}
</code>
When compiled with -O and -inline, DMD exits with:
Internal error: ..\ztc\cg87.c 279
The error goes away when either -O or -inline is removed or when float is changed to int (error remains with double) or when 'return foo();' is replaced with plain 'foo();'
DMD.119; WinXP
--
Tomasz Stachowiak /+ a.k.a. h3r3tic +/
|
Copyright © 1999-2021 by the D Language Foundation