From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f1897174ec9840 X-Google-Attributes: gid111c93,public From: Jeff Sullivan Subject: Re: Compaq C and ssh-1.2.27 and optimization Date: 1999/12/13 Message-ID: <38556E8B.2047EB4A@zk3.dec.com>#1/1 X-Deja-AN: 560266760 Content-Transfer-Encoding: 7bit References: <831j7r$36n9n$1@fu-berlin.de> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 945122949 11224 16.141.0.178 (13 Dec 1999 22:09:09 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 NNTP-Posting-Date: 13 Dec 1999 22:09:09 GMT Newsgroups: comp.os.linux.alpha Note that the -fast compilation flag can cause runtime differences in code that is not ANSI compliant or otherwise non-portable. See the cc man page for a description of the -fast option and the flags that it is made up of. Most often, when code runs as expected at the default optimization, but not at -fast, it's a problem in the source code. What you could try is to use -fast and then turn off some of the -fast options that may be problematic in some code. For example: -fast -noansi_alias Or just use the default opt level, unles you really need to tune your application for speed. -Jeff -- Jeff Sullivan | Compaq Computer Corp. | mailto:jps@zk3.dec.com Compaq C/C++ | Nashua, NH 03062-2698 | Jeff.Sullivan@compaq.com