------- Comment #3 from ubizjak at gmail dot com 2008-04-14 11:12 ------- (In reply to comment #2) > This is setting up the frame pointer which is needed for unwinding/debugging > on some targets. You can use -fomit-frame-pointer to avoid this.
No, -fomit-frame-pointer uses %ebp. %ebx is marked as used due to long long value in %ecx/%ebx. For some reason, %ebx is still marked as live when function prologue and epilogue are constructed. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35926