Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQNrG-0006J4-Ve for pgsql-committers@arkaria.postgresql.org; Sun, 17 Dec 2017 01:35:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQNrF-0005g6-Qc for pgsql-committers@arkaria.postgresql.org; Sun, 17 Dec 2017 01:35:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eQNrF-0005en-4E for pgsql-committers@lists.postgresql.org; Sun, 17 Dec 2017 01:35:13 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eQNrC-0003J9-5a for pgsql-committers@postgresql.org; Sun, 17 Dec 2017 01:35:11 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A96E620C58; Sat, 16 Dec 2017 20:35:08 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 16 Dec 2017 20:35:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=hS2gWy svthtr3jdSqDDoya8snIxgOc4bfjySuS7ctGg=; b=oaFTZiwLajMXHkzh2MkcgB Ml0OBEJTIt6vbBROpFJR3znNTvtoFBmK1qY8cTsoPGEry0vFVU38IC6GzrHFr8Y8 /cfCJhnM0znl5LpVC0Fslwm5m+p4lQpTDkL7eCjRj10B3n6sv5rTX05ZMCKADE8m S8jGDgGJnQEnkhPKjSpMi+9xTdHcS6EBnEr5WmUVud0A6nUxi/jVifrXYnOIyJxr jMMd1oj2mkHn3RC9KMcNMisa6fD81VHuPcgH8dnzS7RgNKPRyihAC5qQOJfCN1oH 5tl3k5/Y7JzZCNVpktB32GbqK0QWjVvf6J9Kt2tXW6V2DctUlL3lCxgDHVkdXoNw == X-ME-Sender: Received: from [192.168.225.233] (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id D6B747E0E6; Sat, 16 Dec 2017 20:35:07 -0500 (EST) Date: Sat, 16 Dec 2017 17:35:05 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <22109.1513474261@sss.pgh.pa.us> References: <20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de> <20171217003207.3myeahkbsm63kbvl@alap3.anarazel.de> <22109.1513474261@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: pgsql: Provide overflow safe integer math inline functions. To: pgsql-committers@lists.postgresql.org,Tom Lane CC: pgsql-committers@postgresql.org,Michael Paquier From: Andres Freund Message-ID: <99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On December 16, 2017 5:31:01 PM PST, Tom Lane wr= ote: >Andres Freund writes: >> I'm not quite following=2E Could you check if the same happens without >> -O2? Not because that'd be a solution, but to narrow down how this >> happens? > >The committed test looks quite broken to me: it's missing some & >operators=2E Not sure how that translates into failing to fail the >configure test, Hm, true=2E As you say, it doesn't explain the problem though, it's just w= eird int to ptr cases=2E Kinda seems like clang links to a different runti= me during the configure tests than what's used for postgres=2E=2E=2E Andres Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E