www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - opMod at compile time: 3 % 0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	int a = 2 % 0;

results in a floating point exception at compile time

Added to DStress as 
http://dstress.kuehne.cn/nocompile/o/opMod_01_A.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_B.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_C.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_D.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_E.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_F.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_G.d
http://dstress.kuehne.cn/nocompile/o/opMod_01_H.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCjNJ+3w+/yD4P9tIRAo0EAJ0Uc/JKS+/AXPkAGsSgAQ5arRw/2ACeOjct
iOgj6pm2gvTTzLa9gO3yUKU=
=bBH7
-----END PGP SIGNATURE-----
May 19 2005