pgsql: Given a gcc-compatible xlc compiler, prefer xlc-style atomics.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Given a gcc-compatible xlc compiler, prefer xlc-style atomics.
Date: 2015-07-09 00:46:23
Message-ID: E1ZCzyp-0008Qy-7Z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Given a gcc-compatible xlc compiler, prefer xlc-style atomics.

This evades a ppc64le "IBM XL C/C++ for Linux" compiler bug. Back-patch
to 9.5, where the atomics facility was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1e700e0fa02b3fd8990d4eaa8bd51b9352cc9736

Modified Files
--------------
src/include/port/atomics.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-09 03:17:14 Re: pgsql: Replace our hacked version of ax_pthread.m4 with latest upstream
Previous Message Heikki Linnakangas 2015-07-08 21:12:06 pgsql: Move pthread-tests earlier in the autoconf script.