On 12/11/2018 12:33 AM, Jeff Law wrote: > Actually I would strongly suggest avoiding alloca completely. This > isn't particularly performance sensitive code
On the contrary, the demangler is very performance-sensitive code for GDB. See <https://sourceware.org/ml/binutils/2018-11/msg00257.html> and Tromey's response. > and alloca can be abused > in all kinds of interesting ways. Thanks, Pedro Alves