From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HbJTk-00036V-CV for garchives@archives.gentoo.org; Tue, 10 Apr 2007 16:46:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3AGibY9008965; Tue, 10 Apr 2007 16:44:37 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3AGe1Rw003783 for ; Tue, 10 Apr 2007 16:40:02 GMT Received: by wr-out-0506.google.com with SMTP id i4so1313686wra for ; Tue, 10 Apr 2007 09:40:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Uxd529RuK1StrZMB5CMY2Ej2eG3Ua88Er5X1QgMqYapQJRsbqbZaROTC+L3ALiwVTlHMzvjnp5hmVi5ods4kbyAeSGg9KsTi/wBDuXrm9j+iShcsPMPKSDcPyK4EYtk9mc06qY7TvhsJiHHX9kmLgMbxA6/MQEvjlUBHwIMYPIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HMnic6dzjvPWE1PuYaHSLRbgiuQhng6WuGY7ztNw/r4L+IFFS2FRbq2AxZouRDSd8qM4RVF0obTvFIDb31LOutTn/JpuYjWnYc1krNDb3kBhFhSshbaMEp0gfqFhXf7n3en9D77onWusgFROf8n8n6NrZCkoDX9BnWbnE7xTo00= Received: by 10.114.152.17 with SMTP id z17mr2882957wad.1176223200918; Tue, 10 Apr 2007 09:40:00 -0700 (PDT) Received: by 10.114.12.4 with HTTP; Tue, 10 Apr 2007 09:40:00 -0700 (PDT) Message-ID: Date: Tue, 10 Apr 2007 12:40:00 -0400 From: "Andrey Vul" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 " In-Reply-To: <461BB374.9000107@bredband.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <243934.33164.qm@web31714.mail.mud.yahoo.com> <200704101558.48235.uwix@iway.na> <2fcf3fa50704100829o46e409e9vac532ef7b35a5914@mail.gmail.com> <461BB374.9000107@bredband.net> X-Archives-Salt: f2d60f3e-6cae-4037-b51d-7741d69082d4 X-Archives-Hash: e68f0f58319418bf4c283fae835b6efd don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side, just use -O2 for toolchain, -O2 -finline-functions for everything else --------------------- Andrey Vul -- gentoo-user@gentoo.org mailing list