From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d736bc07a2574435 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-12-16 14:41:42 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uunet!boulder!cnsnews!news!grunwald From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald) Subject: Re: re:ALPHA/OSF1 info wanted In-Reply-To: stan@mayo.edu's message of 16 Dec 1993 13:58:14 GMT Message-ID: Sender: usenet@cnsnews.Colorado.EDU (Net News Administrator) Nntp-Posting-Host: foobar.cs.colorado.edu Reply-To: grunwald@foobar.cs.colorado.edu Organization: University of Colorado at Boulder References: <2ekisa$su0@fermat.mayo.edu> <2epphm$9ve@fermat.mayo.edu> Date: Thu, 16 Dec 1993 21:30:50 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