DMD buggy optimizing
Thomas Kuehne
thomas-dloop at kuehne.cn
Sat Apr 29 02:10:35 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Walter Bright schrieb am 2006-04-29:
> The D optimizer is the same one as the DMC++ one that has been around
> for 20 years and several hundred thousand users. I run across an actual
> optimizer bug maybe once a year now. D benefits a lot from its maturity.
>
> Many "optimizer" bugs turn out to be code bugs that exhibit different
> behavior when the optimizer rearranges things, hence it may appear to
> "work" unoptimized and fail optimized. The classic example of that is a
> wild pointer.
PASS (no flag) -> FAIL (-O)
http://dstress.kuehne.cn/run/bug_cg87_2393_A.d
http://dstress.kuehne.cn/run/bug_cg87_2393_B.d
http://dstress.kuehne.cn/run/bug_cg87_2393_C.d
http://dstress.kuehne.cn/run/bug_cg87_2393_D.d
http://dstress.kuehne.cn/run/c/cdouble_01_A.d
http://dstress.kuehne.cn/run/c/cfloat_02_A.d
http://dstress.kuehne.cn/run/r/real_26_B.d
http://dstress.kuehne.cn/run/r/real_26_C.d
http://dstress.kuehne.cn/run/r/real_26_D.d
PASS (no flag) -> ERROR (-inline)
http://dstress.kuehne.cn/run/for_04.d
http://dstress.kuehne.cn/run/for_05.d
http://dstress.kuehne.cn/run/foreach_28.d
http://dstress.kuehne.cn/run/foreach_29.d
PASS (no flag) -> FAIL (-inline)
http://dstress.kuehne.cn/run/i/if_14_A.d
http://dstress.kuehne.cn/run/i/if_14_H.d
http://dstress.kuehne.cn/run/i/inline_10_A.d
http://dstress.kuehne.cn/run/i/inline_13_A.d
http://dstress.kuehne.cn/run/i/inline_14_A.d
FAIL (no flag) -> PASS (-inline)
http://dstress.kuehne.cn/run/m/mixin_14_A.d
http://dstress.kuehne.cn/run/m/mixin_14_B.d
http://dstress.kuehne.cn/run/m/mixin_14_C.d
http://dstress.kuehne.cn/run/m/mixin_14_D.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEUzrp3w+/yD4P9tIRAnUYAKCH0fGbAkUPa7SLOwgt/nPhG2TnxQCgtShL
yptwVhZKf7OGqVGyohEsZ1g=
=oqSk
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list