Does 'D' language supports 'C' like VLA?

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 14 07:28:22 PDT 2015


"Ola Fosheim Grøstad" " wrote in message 
news:ukkgvcqtidmgggprkcdf at forum.dlang.org...

> I'm not even sure what happens in various D-compilers when they inline? Do 
> they detect that there is an alloca there and create a "fake" stack frame 
> for it or are they naive and repeatedly extend the stack frame inside 
> loops when the functions inside the loops are inlined?

DMD does not inline functions that have any calls to alloca. 



More information about the Digitalmars-d mailing list