pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.
Date: 2014-09-26 00:45:47
Message-ID: E1XXJfP-0001Lg-8v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix atomic ops inline x86 inline assembly for older 32bit gccs.

Some x86 32bit versions of gcc apparently generate references to the
nonexistant %sil register when using when using the r input
constraint, but not with the =q constraint. The latter restricts
allocations to a/b/c/d which should all work.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f18cad944911f05ad2e876af67362e28584b3c61

Modified Files
--------------
src/include/port/atomics/arch-x86.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-09-26 00:59:51 pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin
Previous Message Michael Paquier 2014-09-26 00:28:57 Re: pgsql: Add a basic atomic ops API abstracting away platform/architectur