An LLVM bug that affect both LDC and SDC. Worth pushing for

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 16 09:31:19 PDT 2014


On Monday, 16 June 2014 at 06:09:28 UTC, deadalnix wrote:
> http://llvm.org/bugs/show_bug.cgi?id=20049
>
> Basically when you have a closure in a closure and the whole 
> thing get inlined, LLVM mess up, which result in compiler not 
> being able to optimize GC allocation away.
>
> Probably worth pushing for. It does probably affect other 
> functional languages as well, but I didn't checked.

This is the corresponding D code: 
https://github.com/deadalnix/SDC/blob/master/tests/test0156.d

Correct?


More information about the Digitalmars-d mailing list