------- Comment #6 from q at ping dot be 2008-12-30 12:44 ------- So are you saying that because in an unrelated part of the code there is an aliasing bug gcc can miscompile anything else, even if -fno-strict-aliasing is used?
The problem is in the PLy_spi_execute_plan() function. oldcontext ends up being a NULL pointers while the only place it gets assigned something should set it to a non-NULL value. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660