On Thu, Apr 23, 2020 at 5:16 PM Andres Freund <and...@anarazel.de> wrote: > Do you not see a warning when compiling with optimizations enabled?
No, I don't. I tried it with -O{0,1,2,3} and I always use -Wall -Werror. No warnings. [rhaas pgsql]$ clang -v clang version 5.0.2 (tags/RELEASE_502/final) Target: x86_64-apple-darwin19.4.0 Thread model: posix InstalledDir: /opt/local/libexec/llvm-5.0/bin -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company