Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald)
Subject: Re: re:ALPHA/OSF1 info wanted
Date: Thu, 16 Dec 1993 21:30:50 GMT	[thread overview]
Message-ID: <GRUNWALD.93Dec16143051@foobar.cs.colorado.edu> (raw)
In-Reply-To: stan@mayo.edu's message of 16 Dec 1993 13:58:14 GMT

>>>>> On 16 Dec 1993 13:58:14 GMT, stan@mayo.edu (Andrew Staniszewski) said:

AS> NNTP-Posting-Host: chirpa.mayo.edu



>You're the second person saying these two things in combination. Can
>you please tell me what you mean by saying this? What measure is
>there for the quality of optimization except performance?

AS> This is a great question, the truth as I have found it is that the
AS> optimizer (uopt) does not work at ALL with the c++ compiler, and
AS> the rumor I have heard is that it works BETTER with the c compiler
AS> but is UNRELIABLE, and should not be used with anything you
AS> actually depend on.
--

Wrong.

I'm running OSF V1.3, C++ V1.2.
I use the optimizer (-g3 -O) on a large thread & simulation library that
is also compiled using e.g., g++ and AT&T C++. Absolutely no problems,
and this is a few thousand lines of code.

Likewise, I used DEC C++ to port AT&T C++ V3.0.1, and had absolutely
no problems with optimization. I also regularly compiler C programs
with optimization and have no problems that I can attribute to the
optimizer.

The only problems I've encountered with DEC C++ are:

	(1) the program..

		class foo {
		  struct bar *woof;
		};

	    should be legal C++, but DEC C++ requires me to pre-declare
	    ``struct bar'' so it's recognizable. Bogosity.

	(2) Templates work, but I don't see mechanisms for repositories,
	like AT&T has. That's OK, though since the other C++ compiler
	I use (g++) has similar limitations.


Dirk Grunwald                          Asst. Prof, Univ. of Colorado at Boulder


      parent reply	other threads:[~1993-12-16 21:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-14 14:33 re:ALPHA/OSF1 info wanted Andrew Staniszewski
1993-12-14 23:47 ` Dr Marco Luchini
1993-12-15  9:26   ` Jan Vorbrueggen
1993-12-16 13:58     ` Andrew Staniszewski
1993-12-16 15:29       ` Steve Lionel
1993-12-16 16:22         ` Andrew Staniszewski
1993-12-16 18:16           ` Steve Lionel
1993-12-24  8:25         ` Alpha OSF/1 C compilers (was Re: re:ALPHA/OSF1 info wanted) Dan Mosedale
1993-12-24  9:46           ` Wilko Bulte
1993-12-25 21:10             ` Fred Velijanian
1993-12-24 15:42           ` Steve Lionel
1994-01-04  2:52         ` Dan Mosedale
1994-01-04 18:23           ` Dirk Grunwald
1994-01-04 19:50           ` Steve Lionel
1993-12-16 21:30       ` Dirk Grunwald [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox