Help with a DMD patch

Vladimir Panteleev vladimir at thecybershadow.net
Mon Mar 18 14:19:12 PDT 2013


On Monday, 18 March 2013 at 21:10:15 UTC, Martin Nowak wrote:
> On 03/17/2013 03:35 AM, Daniel Murphy wrote:
>> Not really the easiest part of dmd to hack on....
>
> Yeah, that's why I wished more of this would move to druntime, 
> but the current solution to stuff everything into object.di 
> doesn't scale too well.
>
> Looking at "a[] = b[]" => memcpy might help.
> https://github.com/D-Programming-Language/dmd/blob/6b634f369a53cdc297d0f41c50d03f8b091ea074/src/e2ir.c#L2824

Thanks, I've already tracked it down to a pre-existing DMD bug. 
Many of my previous attempts were actually correct. I submitted 
the pull request just now.


More information about the Digitalmars-d mailing list