Thread overview | |||||
---|---|---|---|---|---|
|
May 09, 2005 DMD 0.122: creal += ireal f() causes an internal error | ||||
---|---|---|---|---|
| ||||
This code causes an internal error ("..\ztc\cod1.c 2433") during compilation: ireal f() { return 1i; } void main() { creal v; v += f(); } This should compile correctly. This also causes the internal error: ireal f() { return 1i; } void main() { creal v; v = v + f(); } |
May 09, 2005 Re: DMD 0.122: creal += ireal f() causes an internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | Both now fixed. -Walter |
May 12, 2005 Re: DMD 0.122: creal += ireal f() causes an internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Burton Radons schrieb am Sun, 08 May 2005 19:20:20 -0700: > This code causes an internal error ("..\ztc\cod1.c 2433") during compilation: > > ireal f() { return 1i; } > > void main() > { > creal v; > > v += f(); > } > > This should compile correctly. This also causes the internal error: > > ireal f() { return 1i; } > > void main() > { > creal v; > > v = v + f(); > } Added to DStress as http://dstress.kuehne.cn/run/b/bug_cod1_2433_A.d http://dstress.kuehne.cn/run/b/bug_cod1_2433_B.d http://dstress.kuehne.cn/run/b/bug_cod1_2433_C.d http://dstress.kuehne.cn/run/b/bug_cod1_2433_D.d http://dstress.kuehne.cn/run/b/bug_cod1_2433_E.d http://dstress.kuehne.cn/run/b/bug_cod1_2433_F.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCgruS3w+/yD4P9tIRAsyGAKCZZfH2awKE1dtgQJigubvWG/3fHgCguGGg rPPJkD+qtxbM5uqavUOWREI= =5mSX -----END PGP SIGNATURE----- |
Copyright © 1999-2021 by the D Language Foundation