Hi, On 2023-03-16 12:10:27 -0400, Tom Lane wrote: > Pavel Stehule <pavel.steh...@gmail.com> writes: > > čt 16. 3. 2023 v 16:43 odesílatel Tom Lane <t...@sss.pgh.pa.us> napsal: > >> Hmm, I do not see any warnings on HEAD with Fedora 37's gcc 12.2.1. > >> What non-default configure switches, CFLAGS, etc are you using? > > > meson build without any settings > > I think so it is related to meson build, I didn't see these warnings with > > autoconf > > It wouldn't be entirely surprising if meson is selecting some -W > switches that the configure script doesn't ... but I don't know > where to check or change that.
I think it's just that meson defaults to -O3 (fwiw, I see substantial gains of that over -O2). I see such warnings with autoconf as well if I make it use -O3. I think some of these are stemming from https://postgr.es/m/20230204130708.pta7pjc4dvu225ey%40alap3.anarazel.de Greetings, Andres Freund