[Rd] O2 optimization produces wrong code (PR#5315)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Nov 25 21:55:23 MET 2003


Duncan Murdoch <dmurdoch at pair.com> writes:

> On Tue, 25 Nov 2003 15:47:01 +0000 (GMT), Prof Brian Ripley
> <ripley at stats.ox.ac.uk> wrote :
> 
> >This is a long-known problem: one example is the MASS example in the
> >script ch15.R, and that has gone wrong on platforms other than Windows.  
> >It has been reported to the maintainer in the past.
> 
> Should we back off to something less aggressive than -O2?

Traditionally, we've prioritized performance and used cases like this
to file bugs for the compiler writers. But is this really a compiler
problem or a problem with badly written code in akima??

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list