Re: Defend against -ffast-math in meson builds

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Defend against -ffast-math in meson builds
Date: 2026-03-15 23:35:52
Message-ID: 2270019.1773617752@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> writes:
> On Thu, Mar 12, 2026 at 11:10:51AM -0400, Tom Lane wrote:
>> Yeah, that was my thought too. But I think Andres has a point that in
>> principle an extension could use -ffast-math intentionally, so I'm
>> content to just put the test in float.c.

> Yeah, I do agree. Something like in the attached?

Pushed after fleshing out the comment in float.c a bit more.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2026-03-15 23:57:17 Re: Change copyObject() to use typeof_unqual
Previous Message Michael Paquier 2026-03-15 23:29:04 Re: pg_restore: TAP test case typo(wrong word) for an error hint in 001_basic.pl