From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: "may be unused" warnings for gcc |
Date: | 2017-02-22 14:26:10 |
Message-ID: | 15fb2350-b8b8-e188-278f-0b34fdee5210@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
0001-Silence-compiler-warnings-from-gcc-O3.patch | text/x-patch | 2.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-02-22 14:32:42 | Re: Replication vs. float timestamps is a disaster |
Previous Message | Peter Eisentraut | 2017-02-22 14:16:28 | remove deprecated COMMENT ON RULE syntax |