https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113596

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
In theory, if somebody really wanted it, we could replace alloca with
__builtin_stack_save/restore during inlining (not sure if it would
simply work, and be efficient, by just putting save at the start of the
function and restore at the end).

We could also warn when (forced-)inlining a function calling alloca.

Reply via email to