From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,db8cc6c7f9c6a4d9 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-09-01 21:19:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: mooney@zorak.(none) (Tim Mooney) Newsgroups: comp.unix.tru64 Subject: Re: 5.1b cc optimizer problem? Date: Tue, 02 Sep 2003 04:19:53 -0000 Organization: Greymoon Consulting, LLC. Message-ID: References: <%i31b.2973$Nt5.165@news.cpqcorp.net> X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@zorak.(none) (Tim Mooney) X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:10762 In article <%i31b.2973$Nt5.165@news.cpqcorp.net>, Andrew Duane USG wrote: >I'll let someone from the compiler group jump in with more details, but >the compiler hasn't changed a whole lot in 5.1B, and I haven't noticed >anything like this from it, now or ever before. > >One of my main jobs here is to make sure the Tru64 kernel compiles correctly >with the compiler, so I keep careful tabs on code generation, optimization, >all sorts of issues. In the last 10 years, I have had at least a dozen cases >where I was sure the compiler was doing something wrong. > >I was proven wrong every time. > >Optimization can uncover some source code issues that lay dormant before. >You would be amazed at what some people think they can get away with. >Even code that has worked for years and many releases can suddenly break >when a "trivial" printf is added, since register allocation now changes, >or an old return value, previously unimportant, is now critical. I agree with all of these things and understand the point you're making. I hesitated to even bring the issue up for the same reasons -- I think the Tru64 compiler is high quality and the people that are part of the developer tools group are doing a great job. Still, I'm at a loss to explain the problems I mentioned in my original post, and was looking to see if anyone else had noticed the same types of issues. Since I didn't receive any positive responses, I'll assume that it's not a compiler issue, and that the problem lies elsewhere. If I can track the issue further, I'll be sure to post further information. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164