Strange behavior when concatenating array

Timon Gehr timon.gehr at gmx.ch
Fri Jun 17 15:52:05 PDT 2011


Steven Schveighoffer wrote:
> https://github.com/D-Programming-Language/druntime/pull/29
>
> See if that helps.  On my system, your code now results in your expected
> output.
>
> -Steve

If the compiler optimizes well enough the output given could be valid (it might
construct the struct directly where it belongs). This needs some investigation.
Anyways, is druntime the correct place to fix this? If it _is_ a bug, isn't it a
compiler bug and not a bug in druntime? After a quick glimpse over your patch I
think the output will never be just "done" now.


Timon


More information about the Digitalmars-d-learn mailing list