Обсуждение: pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.

Поиск
Список
Период
Сортировка

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

От
Andres Freund
Дата:
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(-)