Re: Fix last unitialized memory warning - Mailing list pgsql-hackers

From Tristan Partin
Subject Re: Fix last unitialized memory warning
Date
Msg-id CTV4SEUNM92R.2OM4SN8LB7CQN@gonk
Whole thread Raw
In response to Re: Fix last unitialized memory warning  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: Fix last unitialized memory warning
List pgsql-hackers
On Thu Jul 6, 2023 at 3:21 AM CDT, Peter Eisentraut wrote:
> On 05.07.23 23:06, Tristan Partin wrote:
> > Thanks for following up. My system is Fedora 38. I can confirm this is
> > still happening on master.
> >
> > $ gcc --version
> > gcc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)
> > Copyright (C) 2023 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > $ meson setup build --buildtype=release
>
> This buildtype turns on -O3 warnings.  We have usually opted against
> chasing warnings in -O3 level because there are often some
> false-positive uninitialized variable warnings with every new compiler.
>
> Note that we have set the default build type to debugoptimized, for that
> reason.

Good to know, thanks.

Regarding the original patch, do you think it is good to be applied?

--
Tristan Partin
Neon (https://neon.tech)



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: UUID v7
Next
From: Daniel Gustafsson
Date:
Subject: Re: UUID v7