A really nice use for a VLA would be in the middle of a struct. You could make something like a PNG image file chunk as a struct, with the CRC at the end coming after the VLA. You get a struct of the correct size with the right fields, despite one part of the struct being of variable size.
For example, a parameter n is passed to a function, and then a struct is defined based on n.
struct {
uint32_t header;
uint32_t array[n];
uint32_t footer;
}foo;
The function fills in the struct. Maybe it then sends the struct via a packet-oriented protocol, perhaps over a datagram socket, so the length is transmitted implicitly in the packet size.https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html
There is no problem cleaning the stack because the compiler has numerous ways to do that. One way is to keep a copy of the original n, as passed to the function. Another way is to save the original stack pointer.
Making this work is not much harder than supporting the alloca function.
If you prefer, it's an Ethernet packet, with a CRC16 on the end. It is outbound.
The send() and write() functions are happy to accept a void pointer.