From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6528 invoked by alias); 16 Mar 2002 11:26:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6498 invoked by uid 71); 16 Mar 2002 11:26:02 -0000 Resent-Date: 16 Mar 2002 11:26:02 -0000 Resent-Message-ID: <20020316112602.6495.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mrj@bigpond.net.au Received:(qmail 5945 invoked by uid 61); 16 Mar 2002 11:23:25 -0000 Message-Id:<20020316112325.5942.qmail@sources.redhat.com> Date: Sat, 16 Mar 2002 03:26:00 -0000 From: mrj@bigpond.net.au Reply-To: mrj@bigpond.net.au To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/5979: -fomit-frame-pointer inoperative in GCC 3.0.4 (x86) X-SW-Source: 2002-03/txt/msg00568.txt.bz2 List-Id: >Number: 5979 >Category: optimization >Synopsis: -fomit-frame-pointer inoperative in GCC 3.0.4 (x86) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: pessimizes-code >Submitter-Id: net >Arrival-Date: Sat Mar 16 03:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mark Reginald James >Release: 3.0.4 >Organization: >Environment: System: Linux 2.4.18 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../src/configure --prefix=/usr --with-cpu=athlon >Description: In 3.0.4 the ebp register is used as a frame pointer despite use of the -fomit-frame-pointer option. >How-To-Repeat: Compile this program: main() { int a=1; } with options -S -fomit-frame-pointer, and note used of epb in the assembly output. >Fix: Change any assembly-coded function that expects epb to be unused to save and restore the epb register. >Release-Note: >Audit-Trail: >Unformatted: