pgsql: Force "restrict" not to be used when compiling with xlc.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Force "restrict" not to be used when compiling with xlc.
Date: 2017-10-13 19:15:52
Message-ID: E1e35R2-0001pZ-12@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d133982d598c7e6208d16cb4fc0b552151796603

Modified Files
--------------
configure | 6 +++++-
configure.in | 6 +++++-
src/template/aix | 4 ++++
3 files changed, 14 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-10-13 19:30:57 Re: [COMMITTERS] pgsql: Implement table partitioning.
Previous Message Robert Haas 2017-10-13 19:09:12 pgsql: Fix possible crash with Parallel Bitmap Heap Scan.