Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 Oct 2002 16:05:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 Oct 2002 16:05:47 -0500 Received: from smtp2.mail.be.easynet.net ([212.100.160.76]:19876 "EHLO koshin.mail.be.easynet.net") by vger.kernel.org with ESMTP id ; Thu, 31 Oct 2002 16:05:12 -0500 Message-ID: <3DC19CA2.5040300@easynet.be> Date: Thu, 31 Oct 2002 22:12:02 +0100 From: Luc Van Oostenryck User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kernel mailing list Subject: Re: CONFIG_TINY References: <20021030233605.A32411@jaquet.dk> <20021031011002.GB28191@opus.bloom.county> <20021031053310.GB4780@mark.mielke.cc> <20021031143301.GC28191@opus.bloom.county> <20021031165113.GB8565@mark.mielke.cc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1119 Lines: 34 Mark Mielke wrote: > On Thu, Oct 31, 2002 at 07:33:01AM -0700, Tom Rini wrote: > >>>If gcc regularly generates larger code with -Os the answer is to talk to >>>the gcc people, not to avoid using -Os... >> >>It's not that it does regularly, it's that it can, and if it does, it's >>not really a gcc bug from what I recall. So I don't think CONFIG_TINY >>should prefer -Os over -O2 but instead we should just ask the user what >>level of optimization they want. Remember, one of the real important >>parts of embedded systems is flexibility. > > > Not to stretch this point too long, but turning off inlined functions 'can' > make code bigger too. It usually doesn't. > GCC's -finline-limit=n should help to control this. -- Luc Van Oostenryck Yes, madam, I am drunk. But in the morning I will be sober and you will still be ugly. -- Winston Churchill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/