digitalmars.D.bugs - DMD 0.122: creal += ireal f() causes an internal error
- Burton Radons (15/15) May 08 2005 This code causes an internal error ("..\ztc\cod1.c 2433") during
- Walter (1/1) May 09 2005 Both now fixed. -Walter
- Thomas Kuehne (16/31) May 11 2005 -----BEGIN PGP SIGNED MESSAGE-----
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 08 2005
-----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-----
May 11 2005