From ripley@stats.ox.ac.uk  Sat Aug  3 19:04:21 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Sat, 3 Aug 2002 19:04:21 +0100 (BST)
Subject: Problems with gcc-3.1 -O2 on Solaris
Message-ID: <Pine.LNX.4.31.0208031850490.2948-100000@gannet.stats>

I've been having problems with gcc-3.1 and R-devel on one of our Solaris 7
systems (not the one I usually use).  We have seen a report of
this before (Chuck Berry, 17 July 2002).

The symptom is that make check fails with var(1) being NaN not NA.  The
underlying cause is that as.double(NA) is NaN.

It can be solved by compiling arithmetic.c without -O2.

Another installation with a single-processor UltraSparc 1 works correctly.
My guess is that gcc-3.1 and multiprocessor/Sparc IIIs are not mixing.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Problems with gcc-3.1 -O2 on Solaris
ripley@stats.ox.ac.uk