pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.
Date
Msg-id E1XXJfP-0001Lg-8v@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix atomic ops for x86 gcc compilers that don't understand atomi
Next
From: Andres Freund
Date:
Subject: pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin