From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6412 invoked by alias); 14 Apr 2008 11:13:44 -0000 Received: (qmail 6114 invoked by uid 48); 14 Apr 2008 11:13:00 -0000 Date: Mon, 14 Apr 2008 11:13:00 -0000 Message-ID: <20080414111300.6113.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/35926] Pushing / Poping ebx without using it. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00970.txt.bz2 ------- 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