Re: Gcc 4.4 causes abort in plpython. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Gcc 4.4 causes abort in plpython.
Date
Msg-id 8388.1230567596@sss.pgh.pa.us
Whole thread Raw
In response to Re: Gcc 4.4 causes abort in plpython.  (Kurt Roeckx <kurt@roeckx.be>)
Responses Re: Gcc 4.4 causes abort in plpython.
List 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 by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1368)
Next
From: "Dave Page"
Date:
Subject: Re: About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)