pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Provide overflow safe integer math inline functions.
Date: Mon, 18 Dec 2017 08:40:06 -0800
Message-ID: <20171218164006.hmyijjs2dgqfkhuh@alap3.anarazel.de> (raw)
In-Reply-To: <3357.1513526629@sss.pgh.pa.us>
References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org>
	<20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de>
	<20171217003207.3myeahkbsm63kbvl@alap3.anarazel.de>
	<CAB7nPqS-T=GgEHX6aEAk_2X5B9uAUJgDOxHU5u1PkQfV1iuLjA@mail.gmail.com>
	<3357.1513526629@sss.pgh.pa.us>

On 2017-12-17 11:03:49 -0500, Tom Lane wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
> > ... Please note that if you added
> > a volatile cast to "result" as well, then compilation was able to
> > complete and regression tests passed...
> 
> Yeah, that squares with my analysis: the problem with the existing test
> is that the compiler is throwing away the function call because its
> output is unused.
> 
> If I haven't seen something from Andres shortly, I'll push a fix.

Thanks! Was off for most of yesterday...

Greetings,

Andres Freund




view thread (16+ messages)

Message-ID: <20171218164006.hmyijjs2dgqfkhuh@alap3.anarazel.de>
Permalink:  ../20171218164006.hmyijjs2dgqfkhuh@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20171218164006.hmyijjs2dgqfkhuh@alap3.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: <20171218164006.hmyijjs2dgqfkhuh@alap3.anarazel.de>
  References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org> <20171213213754.pydkyjs6bt2hvsdb@alap3.anarazel.de> <20171217003207.3myeahkbsm63kbvl@alap3.anarazel.de> <CAB7nPqS-T=GgEHX6aEAk_2X5B9uAUJgDOxHU5u1PkQfV1iuLjA@mail.gmail.com> <3357.1513526629@sss.pgh.pa.us> <20171218164006.hmyijjs2dgqfkhuh@alap3.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