Join GitHub today
cmd/compile: relax recursive restriction while inlining #29737
The compiler refuses to inline anything in this example:
There's no reason to not inline, e.g.,
This comes up only with mid-stack inlining. When we only inlined leaves, it was perfectly reasonable to abort on recursion. Now we don't have to.
This came up when looking at