Re: GCC memory barriers are missing "cc" clobbers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GCC memory barriers are missing "cc" clobbers
Дата
Msg-id 24722.1411138736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GCC memory barriers are missing "cc" clobbers  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: GCC memory barriers are missing "cc" clobbers  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-09-19 09:58:01 -0400, Tom Lane wrote:
>> While it might not be buggy as it stands, I think we should add the "cc"
>> rather than rely on it being implicit.  One reason is that people will
>> look at the x86 cases when developing code for other architectures, and
>> they could easily forget to add "cc" on machines where it does matter.

> Fair point. It's also extremly poorly documented - my answer is from a
> gcc dev, I haven't found an official document stating it. I don't really
> see any need to backpatch though, do you?

Well, I'd make it the same in all branches which have that code, which
is not very far back is it?
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: GCC memory barriers are missing "cc" clobbers
Следующее
От: Andres Freund
Дата:
Сообщение: Re: GCC memory barriers are missing "cc" clobbers