The situation shown in the test case was fixed in DMD 1.011. The ICE seems to be genuinely fixed, but the segfault still occurs in slightly more complex examples. I've created issue #1125 for those.
Comment #3 by bugzilla — 2007-04-11T21:59:44Z
Fixed dmd 1.011
But the X[0] must be replaced with expr[0].