Re: Gcc 4.4 causes abort in plpython.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kurt Roeckx <kurt(at)roeckx(dot)be>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Gcc 4.4 causes abort in plpython.
Date: 2008-12-29 16:19:56
Message-ID: 8388.1230567596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kurt Roeckx <kurt(at)roeckx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2008-12-29 16:26:15 Re: About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)
Previous Message KaiGai Kohei 2008-12-29 15:57:18 Re: Updates of SE-PostgreSQL 8.4devel patches (r1368)