PG Bug reporting form <noreply@postgresql.org> writes:
> Operating system: CentOS release 5.8 (Final) - Linux dev-linuxx86
> 2.6.18-308.el5 #1 SMP Tue Feb 21 20:05:41 EST 2012 i686 i686
So I suppose your compiler is also a dozen years old?
I don't see any good reason to think this isn't a compiler bug.
If you can't upgrade to a newer compiler version, backing off the
default optimization level is probably your best option. But we
don't test or support operating systems that old.
regards, tom lane