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

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 25 September 2014 19:44 UTC

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.

f18cad9 Fix atomic ops inline x86 inline assembly for older 32bit gccs.
src/include/port/atomics/arch-x86.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: git.postgresql.org


  • Share