From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29487 invoked by alias); 8 Jun 2004 17:37:23 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 29470 invoked from network); 8 Jun 2004 17:37:23 -0000 Received: from unknown (HELO geburtsjahr.neunzehnhunderteinundachtzig.de) (217.160.92.50) by sourceware.org with SMTP; 8 Jun 2004 17:37:23 -0000 Received: from bauernhof (pD9EBEFC8.dip.t-dialin.net [217.235.239.200]) by geburtsjahr.neunzehnhunderteinundachtzig.de (Postfix) with ESMTP id 5070F8FC72; Tue, 8 Jun 2004 19:37:35 +0200 (CEST) Received: from physik.uni-muenchen.de (unknown [192.168.1.6]) by bauernhof (Postfix) with ESMTP id 3A53F63151; Tue, 8 Jun 2004 19:36:48 +0200 (CEST) Message-ID: <40C5F929.8050908@physik.uni-muenchen.de> Date: Tue, 08 Jun 2004 19:04:00 -0000 From: =?ISO-8859-1?Q?Tobias_Schl=FCter?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040506 MIME-Version: 1.0 To: Toon Moene Cc: gfortran , "gcc-patches@gcc.gnu.org" Subject: Re: [gfortran] Compute x**(-n) as (1/x)**n References: <40C5F85F.80006@moene.indiv.nluug.nl> In-Reply-To: <40C5F85F.80006@moene.indiv.nluug.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00437.txt.bz2 Toon Moene wrote: > The following change, which I bootstrapped on powerpc-unknown-linux-gnu > (C and f95) without regressions, leads the Fortran front-end to generate > expressions x**(-n) with n constant as if they were written (1/x)**n. > Does this deal correctly with integer x? I remember there were some special cases somewhere. - Tobi