Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group