"kenji hara" <[email protected]> wrote in message news:[email protected]... > 2011/11/3 Don <[email protected]>: >> Maybe we should suppress unreachable code warnings inside unrolled code. > > I don't agree with this opinion of you. > It is useful when we write generic code. >
I don't know much about the internals of DMD, but would this make any sense?: When unrolling code, keep track of where the unrolled parts came from. Only issue an unreachable code warning if *all* the unrolled versions of the original line X are unreachable.
