[phobos] Commit 1717 broke Phobos unittests
Don Clugston
dclugston at googlemail.com
Fri Aug 6 11:22:46 PDT 2010
Do you have a reduced test case? It's happening in Array!bool, after
the end of the first unittest which calls insertBack(). That happens
to be the unittest after empty().
I've been working on the wrong-code compiler bugs. This seems to be
one of the worst.
On 6 August 2010 17:52, Andrei Alexandrescu <andrei at erdani.com> wrote:
> That is a bug in the compiler. The compiler should never copy the return of
> a stack variable or parameter - it should just bitblt them. That's not an
> optimization, it's a language definition thing.
>
> Andrei
More information about the phobos
mailing list