[Patch, Fortran, RFC] Improve common function elimination

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Dec 12 01:48:00 GMT 2011


On Mon, Dec 12, 2011 at 01:44:02AM +0100, Thomas Koenig wrote:
> 
> Also, a=cos(1.0*NaN) + cos(1.0*NaN) can safely be replaced by
> 
> __var1=cos(1.0)*NaN;
> a = __var1 + __var1
> 

Is this a typo?  Should this be __var1 = cos(1.0*NaN)?

-- 
Steve



More information about the Fortran mailing list