ÐейÑÐµÑ ÐлекÑÐ°Ð½Ð´Ñ ÐалеÑÐ¸ÐµÐ²Ð¸Ñ wrote:
> Hi,
>
> PostgreSQL 8.1.5 have a problem with division by zero on sparc.
>
> Solaris 9 sparc, gcc 4.0.2, 4.1.1:
>
> $ ./configure --enable-thread-safety --disable-nls --without-perl
> --without-python --without-krb5 --without-openssl --without-readline
> ...
>
I found that you logged this as gcc bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29968
However, SunStudio is much better for SPARC platform and now is free.
GCC does not have good code optimalizer for SPARC.
Zdenek