From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6222 invoked by alias); 10 Dec 2004 09:08:53 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 6179 invoked from network); 10 Dec 2004 09:08:47 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.195) by sourceware.org with SMTP; 10 Dec 2004 09:08:47 -0000 Received: by rproxy.gmail.com with SMTP id b11so602418rne for ; Fri, 10 Dec 2004 01:08:47 -0800 (PST) Received: by 10.38.162.30 with SMTP id k30mr1183897rne; Fri, 10 Dec 2004 01:08:47 -0800 (PST) Received: by 10.38.10.70 with HTTP; Fri, 10 Dec 2004 01:08:47 -0800 (PST) Message-ID: <84fc9c0004121001083341a4a7@mail.gmail.com> Date: Fri, 10 Dec 2004 09:08:00 -0000 From: Richard Guenther Reply-To: Richard Guenther To: Sam Lauber Subject: Re: Unomitted frame pointers Cc: gcc@gcc.gnu.org In-Reply-To: <20041210052626.95AF72B2B86@ws5-7.us4.outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041210052626.95AF72B2B86@ws5-7.us4.outblaze.com> X-SW-Source: 2004-12/txt/msg00354.txt.bz2 On Fri, 10 Dec 2004 06:26:26 +0100, Sam Lauber wrote: > Going back to useless assembly, a low-level Hello World with -fno-omit-frame-pointer: > And the same C code with -fomit-frame-pointer: Try enabling optimization :) After some trying I found you're using gcc 3.4 or 4.0 without any -O option (try using -O2 for a start). Richard.