pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org,Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org,Michael Paquier <michael.paquier@gmail.com>
Subject: Re: pgsql: Provide overflow safe integer math inline functions.
Date: Sat, 16 Dec 2017 17:35:05 -0800
Message-ID: <99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de> (raw)
In-Reply-To: <22109.1513474261@sss.pgh.pa.us>
References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org>
	<20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de>
	<20171217003207.3myeahkbsm63kbvl@alap3.anarazel.de>
	<22109.1513474261@sss.pgh.pa.us>



On December 16, 2017 5:31:01 PM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Andres Freund <andres@anarazel.de> writes:
>> I'm not quite following. 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.  Not sure how that translates into failing to fail the
>configure test,

Hm, true. As you say, it doesn't explain the problem though, it's just weird int  to ptr cases. Kinda seems like clang links to a different runtime during the configure tests than what's used for postgres...

Andres

Andres
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.




view thread (16+ messages)  latest in thread

Message-ID: <99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de>
Permalink:  ../99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de/
Also on:    postgresql.org/message-id/99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, michael.paquier@gmail.com
  Subject: Re: pgsql: Provide overflow safe integer math inline functions.
  In-Reply-To: <99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de>
  References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org> <20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de> <20171217003207.3myeahkbsm63kbvl@alap3.anarazel.de> <22109.1513474261@sss.pgh.pa.us> <99F06D02-BB7E-40F1-93BE-7113713F1AC0@anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox