From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5731 invoked by alias); 30 Jul 2003 14:05:45 -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 5704 invoked from network); 30 Jul 2003 14:05:44 -0000 Received: from unknown (HELO uniton.integrable-solutions.net) (62.212.99.186) by sources.redhat.com with SMTP; 30 Jul 2003 14:05:44 -0000 Received: from uniton.integrable-solutions.net (localhost [127.0.0.1]) by uniton.integrable-solutions.net (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h6UE4sSu021794; Wed, 30 Jul 2003 16:04:54 +0200 Received: (from gdr@localhost) by uniton.integrable-solutions.net (8.12.3/8.12.3/Submit) id h6UE4sek021793; Wed, 30 Jul 2003 16:04:54 +0200 X-Authentication-Warning: uniton.integrable-solutions.net: gdr set sender to gdr@integrable-solutions.net using -f To: dewar@gnat.com (Robert Dewar) Cc: Richard.Earnshaw@arm.com, aoliva@redhat.com, gcc@gcc.gnu.org, kgardas@objectsecurity.com, rguenth@tat.physik.uni-tuebingen.de Subject: Re: std::pow implementation References: <20030730135639.144F5F2DFE@nile.gnat.com> From: Gabriel Dos Reis In-Reply-To: <20030730135639.144F5F2DFE@nile.gnat.com> Organization: Integrable Solutions Date: Wed, 30 Jul 2003 14:14:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-07/txt/msg02171.txt.bz2 dewar@gnat.com (Robert Dewar) writes: [...] | Basically in Ada, we regard pragma Inline as meaning: this function is pretty | small and I call it quite often and I would like the calls to be efficient. That is not too far from the intent of inline in C++. | Feel free to optimize in a way that improves time performance even if more | space is generated. I am guessing that it would make sense to inline calls | (I know the standard doesn't formally define this, but you know what I mean). Yes, the standard does not legislate, but we know how and why the language evolved to introduce that feature. -- Gaby