Force "restrict" not to be used when compiling with xlc.
authorAndres Freund <andres@anarazel.de>
Fri, 13 Oct 2017 18:54:59 +0000 (11:54 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 13 Oct 2017 19:15:06 +0000 (12:15 -0700)
commitd133982d598c7e6208d16cb4fc0b552151796603
treeb6d6f6d66febae9a59e43fb2e9b3c5a1419427d1
parent6393613b6a1e0feae3d22af608397b252cee5b58
Force "restrict" not to be used when compiling with xlc.

Per buildfarm animal Hornet and followup manual testing by Noah Misch,
it appears xlc miscompiles code using "restrict" in at least some
cases. Allow disabling restrict usage with FORCE_DISABLE_RESTRICT=yes
in template files, and do so for aix/xlc.

Author: Andres Freund and Tom Lane
Discussion: https://postgr.es/m/1820.1507918762@sss.pgh.pa.us
configure
configure.in
src/template/aix