From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5862 invoked by alias); 10 Apr 2008 18:22:03 -0000 Received: (qmail 5845 invoked by uid 22791); 10 Apr 2008 18:22:00 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Apr 2008 18:21:40 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 499B14041C; Thu, 10 Apr 2008 20:21:38 +0200 (CEST) Date: Thu, 10 Apr 2008 18:36:00 -0000 From: Michael Matz To: Mark Mitchell Cc: Jan Hubicka , Richard Guenther , gcc-patches@gcc.gnu.org Subject: Re: Patch ping... In-Reply-To: <47FBCEF5.50001@codesourcery.com> Message-ID: References: <20080405162606.GA22594@atrey.karlin.mff.cuni.cz> <84fc9c000804050953o429fde26jb3938827ff9dc5a@mail.gmail.com> <20080405195910.GF28471@atrey.karlin.mff.cuni.cz> <47FBCEF5.50001@codesourcery.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00891.txt.bz2 Hi, On Tue, 8 Apr 2008, Mark Mitchell wrote: > > and decide on hotness. With -Os defaulting to conservative behaviour > > (ie function is hot only if attribute or profile feedback suggest so) > > and -O2 defaulting to aggressive behaviour (function is hot if not > > declared cold, function local profile is within bounds). > > This seems like a good idea, except that I'm not sure it's what people really > want from -Os. With -Os, I think some users want small code, all the time, > period. Then they should not use attribute(hot) or profile feedback, period. Ciao, Michael.