Re: [HACKERS] "may be unused" warnings for gcc
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Date: 2019-09-27T21:23:48Z
Lists: pgsql-hackers
Hi, On 2017-02-22 09:26:10 -0500, Peter Eisentraut wrote: > On 2/21/17 22:17, Andres Freund wrote: > > I've not run comparisons this year, but late last year I was seeing > 5% > > < 10% benefits - that seems plenty enough to care. > > You mean the 5-minute benchmarks on my laptop are not representative? ;-) > > Here is a patch that I had lying around that clears the compiler > warnings under -O3 for me. It seems that they are a subset of what you > are seeing. Plausibly, as compilers are doing more analysis in larger > scopes, we can expect to see more of these. I pushed the subset that I still see locally with gcc -O3. Greetings, Andres Freund
Commits
-
Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c.
- 3f6b3be39ca9 13.0 landed