------- Comment #16 from pinskia at gcc dot gnu dot org 2010-01-03 07:49 ------- (In reply to comment #15) > As an addendum the unnecessary stack frame seems to be a very common problem, > it's in a lot of the examples near the end of > http://embed.cs.utah.edu/embarrassing/dec_09/harvest/gcc-head_suncc-5.10/ > typically combined with tail call optimization
Well the unnecessary stack frame is due to frame pointer is not omitted by default with GCC due to debugging/backtrace reasons. Try -fomit-frame-pointer :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586