And I don't think they would consider compiling the program below to
take O(n) stack either,
{ int t[2];
..
}
{ int t[2];
..
}
...
Until fairly recently, GCC was not capable of reusing stack memory allocated in this fashion. Not sure about LLVM.
I think of C compilers as idiot-savants: occasionally brilliant, but more often just not that bright.
John