On Mon, Dec 29, 2008 at 11:19:56AM -0500, Tom Lane wrote: > Kurt Roeckx <k...@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.
Reported as: http://gcc.gnu.org/PR38660 kurt -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers