Re: Fix runtime errors from -fsanitize=undefined - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fix runtime errors from -fsanitize=undefined
Date
Msg-id 09436b58-38b2-1fb3-05fc-422fa56b2756@2ndquadrant.com
Whole thread Raw
In response to Re: Fix runtime errors from -fsanitize=undefined  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Fix runtime errors from -fsanitize=undefined
List pgsql-hackers
On 2019-06-05 21:30, Robert Haas wrote:
> On Mon, Jun 3, 2019 at 3:22 PM Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>> After many years of trying, it seems the -fsanitize=undefined checking
>> in gcc is now working somewhat reliably.  Attached is a patch that fixes
>> all errors of the kind
> 
> Is this as of some particular gcc version?

I used gcc-8.

The option has existed in gcc for quite some time, but in previous
releases it always tended to hang or get confused somewhere.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: coverage additions
Next
From: Peter Eisentraut
Date:
Subject: Re: Add CREATE DATABASE LOCALE option