From owner-freebsd-current Tue Mar 17 23:01:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18253 for freebsd-current-outgoing; Tue, 17 Mar 1998 23:01:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA18248 for ; Tue, 17 Mar 1998 23:01:41 -0800 (PST) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id AAA10211; Wed, 18 Mar 1998 00:01:37 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp04.primenet.com, id smtpd010189; Wed Mar 18 00:01:31 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id AAA00396; Wed, 18 Mar 1998 00:01:28 -0700 (MST) From: Terry Lambert Message-Id: <199803180701.AAA00396@usr04.primenet.com> Subject: Re: Compilers: 2.8.1 v 2.7.2.1? To: sgk@troutmask.apl.washington.edu (Steve Kargl) Date: Wed, 18 Mar 1998 07:01:28 +0000 (GMT) Cc: tlambert@primenet.com, freebsd-current@FreeBSD.ORG, ckempf@enigami.com In-Reply-To: from "Steve Kargl" at Mar 17, 98 07:53:40 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >The moral to this story? "I can make it run as fast as you want, as > >long as it doesn't have to actually work". > > I don't use C++, so I can't speak about egcs's g++ and exceptions. > > Sigh. > > You're moral seems to be a non-sequitur with respect to my g77 observation. > Most people would assume a statement of "real-world benchmark (my code)" > means not only was g77 22% faster but it also gives the right answer. > In fact, I can cook up a Fortran program that runs 16 times faster when > complied with g77 than with f2c+gcc. I hardly would call this a > real-world benchmark. (Oh yeah, both give the expected results). I have noticed FP exceptions with g77; I have also noticed that some code simply will not run, even though f2c compiles it, as does a VAX as does a CDC Cyber (yeah, it's old code) as does a YMP. Admittedly, it's not terribly useful to run this code on a machine without a vector processor (ie; Intel boxes) if you want to do half a billion P-P pair production collosions, but it's an indicator that the g77 compiler isn't quite there yet. That you can't use threads in C++ with egcs, but you can with the FSF g++ distribution is probably more important than the FORTRAN problems, but the code *is* rather broken in both cases. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message