2 ms·
Reading https://www.gnu.org/software/gnulib/manual/html_node/alloca.html https://www.gnu.org/software/gnulib/manual/html_node/alloca...., I think gcc C++ suppor
by Someone 6y ago
Reading https://www.gnu.org/software/gnulib/manual/html_node/alloca.html https://www.gnu.org/software/gnulib/manual/html_node/alloca...., I think gcc C++ supports alloca on most systems (“There are a few systems where this is not possible: HP-UX systems, and some other platforms when the C++ compiler is used. On these platforms the alloca module provides a malloc based emulation”)
VLAs are different, I think.