------- Comment #2 from edwintorok at gmail dot com 2009-01-15 09:50 ------- (In reply to comment #1) > This is the frame-pointer setup code. You can get the same code as x86_64 > with > -momit-leaf-frame-pointer. >
Ok. But can't the optimizers see that you push ebp, write something to it, and then pop to it again, and remove that code automatically? At least the movl is a dead store ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38854