Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!mucs!mshute From: mshute@cs.man.ac.uk (Malcolm Shute) Newsgroups: comp.arch Subject: Re: IEEE arithmetic (Goldberg paper) Message-ID: <2689@m1.cs.man.ac.uk> Date: 14 Jun 91 11:02:18 GMT References: <9106070109.AA02137@ucbvax.Berkeley.EDU> Sender: news@cs.man.ac.uk Reply-To: mshute@cs.man.ac.uk (Malcolm Shute) Organization: Department of Computer Science, University of Manchester UK Lines: 20 In article <9106070109.AA02137@ucbvax.Berkeley.EDU> jbs@WATSON.IBM.COM writes: >I think that if a (legal) program behaves differently when compiled with >and without optimization that then the compiler is broken. Perhaps you >disagree. B = 5.0 IF ( ( B .GT. 3.0 ) .OR. MYTEST(A) ) PRINT some diagnotic messages LOGICAL FUNCTION MYTEST(X) REAL X MYTEST = some boolean work PRINT a few diagnostics on the screen RETURN END -- Malcolm SHUTE. (The AM Mollusc: v_@_ ) Disclaimer: all