From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e2617bb212aeb68e X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: DecC vs. gcc-2.8.1, why is the difference in speed so large? Date: 1999/06/08 Message-ID: <375D5432.16EEADCF@zk3.dec.com>#1/1 X-Deja-AN: 487154409 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 "David T. Blake" wrote: > ... I write all kinds of number crunching float/int operations > under Dec Unix. I ocassionally try to optimize once for gcc and > once for cc. I cannot beat cc for speed. Typically I get > 15-20% speed differences. If you are running V4.0D or later, you might also be interested in trying the Developer's Toolkit compiler, which contains newer features and diagnostics, as well as a better optimizer (especially for ev6). See http://www.unix.digital.com/developerstoolkit/ > However, I also find subtle differences in the parsing of > the compilers, and I am either more used to gcc, or it is > more bug free, because I continue to use it. Things like > typecasting of arguments tend to get me in much more trouble > using cc than gcc. Please send me details of the differences or things that you consider bugs in DEC C and we'll take a look. I would need to know which version of the compiler and OS that you are working with. Thanks, -Jeff -- Jeff Sullivan | Compaq Computer Corp | mailto:jps@zk3.dec.com Compaq C/C++ | Nashua, NH ZK3-2X23 | Jeff.Sullivan@compaq.com