Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBq3o-00027b-FK for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Aug 2021 02:58:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mBq3n-0002XT-FM for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Aug 2021 02:58:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBq3n-0002XK-7k for pgsql-hackers@lists.postgresql.org; Fri, 06 Aug 2021 02:58:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBq3k-0008FC-UC for pgsql-hackers@lists.postgresql.org; Fri, 06 Aug 2021 02:58:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1762w4JY2449472; Thu, 5 Aug 2021 22:58:04 -0400 From: Tom Lane To: Dean Rasheed cc: Yugo NAGATA , PostgreSQL Hackers , Dave Page Subject: Re: Numeric x^y for negative x In-reply-to: References: <20210720181509.51a037ed0a8cb0f6d3ffda3a@sraoss.co.jp> <20210722141136.573c11dfc06f4dd46b661bca@sraoss.co.jp> <2394813.1628179479@sss.pgh.pa.us> Comments: In-reply-to Dean Rasheed message dated "Thu, 05 Aug 2021 19:27:16 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2449470.1628218684.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 05 Aug 2021 22:58:04 -0400 Message-ID: <2449471.1628218684@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dean Rasheed writes: > On Thu, 5 Aug 2021 at 17:04, Tom Lane wrote: >> It looks like castoroides is not happy with this patch: >> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dcastoroides&d= t=3D2021-08-01%2008%3A52%3A43 > Hmm, there's something very weird going on there. Yeah. I tried to reproduce this on the gcc compile farm's Solaris 10 machine, but the test passed fine for me. The only obvious configuration difference I can find is that that machine has $ cc -V cc: Sun C 5.10 SunOS_sparc Patch 141861-10 2012/11/07 whereas castorides' compiler seems to be a few years older. So this does seem like it could be a compiler bug. regards, tom lane