Summary: building dmd with a modern gcc produces a buggy
--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2010-05-09 19:19:52 PDT
modern versions of DMD build with strict alias rules. Somewhere in DMD the
rules are violated sufficiently to produce a compiler that doesn't work
correctly enough to past the test suite. A mostly (but possibly not
completely) reduced test case:
for (int i = 0; i < f.length; i++)
With dmd as shipped, the test passes. With dmd build with g++ 4.4, it fails.
Adding -fno-strict-aliasing to the compilation flags for dmd produces a
compiler that works (at least well enough to pass the above test).
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------