gcc: simplify and improve cost model
gcc: correct depiction of stack frame