Re: Gcc 4.4 causes abort in plpython.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Gcc 4.4 causes abort in plpython.
Дата
Msg-id 8388.1230567596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Gcc 4.4 causes abort in plpython.  (Kurt Roeckx <kurt@roeckx.be>)
Ответы Re: Gcc 4.4 causes abort in plpython.  (Kurt Roeckx <kurt@roeckx.be>)
Список pgsql-hackers
Kurt Roeckx <kurt@roeckx.be> writes:
> On Mon, Dec 29, 2008 at 09:25:47AM -0300, Alvaro Herrera wrote:
>> I think a simplistic solution is to declare the variable volatile.
>> Would you test that and report back?

> Yes, making oldcontext volatile makes the test pass.

This is a gcc bug and you should report it.  Since the variable is
not assigned within the try-block, volatile marking should not be
necessary.
        regards, tom lane


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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1368)
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)