Merge pull request #3961 from yebblies/issue13427

Issue 13427 - [REG2.066] cannot inline default argument alloca(...)
Merge pull request #3985 from klickverbot/2.066

Cherry-picking pull request #3961 for 2.066.1