From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4226 invoked by alias); 30 Jul 2003 06:45:48 -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 4218 invoked from network); 30 Jul 2003 06:45:47 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 30 Jul 2003 06:45:47 -0000 Received: from free.redhat.lsd.ic.unicamp.br (aoliva.cipe.redhat.com [10.0.1.10]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h6U6jjK02354; Wed, 30 Jul 2003 02:45:45 -0400 Received: from free.redhat.lsd.ic.unicamp.br (free.redhat.lsd.ic.unicamp.br [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.9/8.12.9) with ESMTP id h6U6ji9H020920; Wed, 30 Jul 2003 03:45:44 -0300 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.9/8.12.9/Submit) id h6U6jhR3020916; Wed, 30 Jul 2003 03:45:43 -0300 To: Gabriel Dos Reis Cc: Steven Bosscher , Richard Guenther , gcc@gcc.gnu.org Subject: Re: std::pow implementation References: <1059481647.3651.120.camel@steven.lr-s.tudelft.nl> <1059483328.3651.144.camel@steven.lr-s.tudelft.nl> <1059487859.3650.208.camel@steven.lr-s.tudelft.nl> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Wed, 30 Jul 2003 10:33:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-07/txt/msg02118.txt.bz2 On Jul 30, 2003, Gabriel Dos Reis wrote: > | Because (1) inline is implicit in C++, > No, that is *your* invention. Inline is NOT implicit. For a member function defined inside the class body, it is. [dcl.fct.spec]/3 Sorry that I wasn't clear. > Only because you have decided to transmute the original meaning of C++. I haven't chosen anything, I just quoted the C Standard. It clearly calls for compiler's effort towards fast execution over inline substitution. Compared with that, what you claim to be C++'s intended meaning (inline even if the resulting code is worse) seems as a very misguided idea. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer