From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21254 invoked by alias); 19 Jan 2004 13:28:57 -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 21215 invoked from network); 19 Jan 2004 13:28:55 -0000 Received: from unknown (HELO mallaury.noc.nerim.net) (62.4.17.101) by sources.redhat.com with SMTP; 19 Jan 2004 13:28:55 -0000 Received: from tetto.gentiane.org (espie.gentiane.org [62.212.102.210]) by mallaury.noc.nerim.net (Postfix) with ESMTP id AE8D762D4A for ; Mon, 19 Jan 2004 14:28:53 +0100 (CET) Received: from tetto.gentiane.org (localhost [127.0.0.1]) by tetto.gentiane.org (8.12.9/8.12.1) with ESMTP id i0JDSolM012385 for ; Mon, 19 Jan 2004 14:28:52 +0100 (CET) Received: (from espie@localhost) by tetto.gentiane.org (8.12.9/8.12.1/Submit) id i0JDSnCR018477 for gcc@gcc.gnu.org; Mon, 19 Jan 2004 14:28:49 +0100 (CET) Date: Mon, 19 Jan 2004 13:28:00 -0000 From: Marc Espie To: gcc@gcc.gnu.org Subject: Re: gcc 3.5 integration branch proposal Message-ID: <20040119132847.GA16721@tetto.gentiane.org> Reply-To: espie@nerim.net References: <90200277-4301-11D8-BDBD-000A95B1F520@apple.com> <20040110002526.GA13568@disaster.jaj.com> <82D6F34E-4306-11D8-BDBD-000A95B1F520@apple.com> <20040110154129.GA28152@disaster.jaj.com> <1073935323.3458.42.camel@minax.codesourcery.com> <1073951351.3458.162.camel@minax.codesourcery.com> <20040119034216.0593F48A4@quatramaran.ens.fr> <200401190349.i0J3nUT22886@makai.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401190349.i0J3nUT22886@makai.watson.ibm.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-01/txt/msg01275.txt.bz2 On Sun, Jan 18, 2004 at 10:49:30PM -0500, David Edelsohn wrote: > Did you build head configured with --disable-checking? Rebuilt with --disable-checking, and double-checked the options. There was a bug that meant I was not -O2 in both cases. Now, the actual options are -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-format -Wno-main -fno-builtin-printf -fno-builtin-log -fno-builtin-malloc -O2 -fno-strict-aliasing in both cases. And it's still a bit slower: gcc 3.3.2: 527.98s real 421.02s user 30.36s system gcc -head with --disable-checking: 544.91s real 439.52s user 30.27s system Okay, the slow-down is not as marked as with --enable-checking, but it still does exist: 4% is something. Basically, the code there is just an OpenBSD kernel. It won't fly as a testcase unless you have an OpenBSD system available. It's just plain old C. Nothing really fancy about it. So, the compiler is not getting faster. To give you some scope, again. A similar bulk of code used to compile in 3 hours on a 68040. This 4% translates to an extra 7 minutes. A make build on such a machine takes about two days. This 4% translates to 2 hours more. I'll try doing some profiling in the near future...