--- Comment #9 from q at ping dot be 2009-01-02 13:04 ---
I've reduced the test case. The call to siglongjmp() needs to be in a separate
file.
When the problem occurs the test program returns exit code 1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660
--- Comment #8 from q at ping dot be 2009-01-02 13:01 ---
Created an attachment (id=17022)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17022&action=view)
Reduced test case part 2
--
q at ping dot be changed:
What|Removed
--- Comment #7 from q at ping dot be 2009-01-02 13:00 ---
Created an attachment (id=17021)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17021&action=view)
Reduced test case part 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660
--- 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
--- Comment #4 from q at ping dot be 2008-12-29 18:13 ---
pgsql uses -fno-strict-aliasing to compile.
The command that is being used is:
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g
-fpic -I. -I/usr
--- Comment #1 from q at ping dot be 2008-12-29 17:19 ---
Created an attachment (id=17001)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17001&action=view)
preprocessed file that has the problem
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: q at ping dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660