Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!sdd.hp.com!apollo!rehrauer From: rehrauer@apollo.HP.COM (Steve Rehrauer) Newsgroups: comp.sys.apollo Subject: Re: Apollo CC 5.7 Optimizer bummer Message-ID: <51760d86.20b6d@apollo.HP.COM> Date: 9 May 91 15:26:00 GMT References: <1991May8.231635.8782@emperor.scs.com> <1520@fang.dsto.oz> Sender: root@apollo.HP.COM Reply-To: rehrauer@apollo.HP.COM (Steve Rehrauer) Distribution: comp Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 29 In article <1520@fang.dsto.oz> agq@itd1.dsto.oz (Ashley Quick) writes: >richd@emperor.scs.com (Richard Doherty) writes: >>Question: Has anyone discovered optimizer problems? > >Yes. > >I have had a program which uses DOMAIN/OS mailbox calls, >and have had exactly the problem you describe. These calls >take a pointer to some storage, and fill that spot up with stuff. > >With the optimiser on, the program (only about 50 lines long) crashes >with a segmentation violation. When off, works fine. I tried >the various different optimiser levels, and found that it broke >at levels 3 and above (I think... it was a year ago). >No I have not reported this to HaPollo :-) SIGH. Please DO report such problems. We *LOVE* APRs with 50-line programs that fail in simple ways. :-) Seriously, I know many of you have aired complaints about response-time -- I'm just a poor engineer on the receiving end, and sometimes for whatever reason I don't always receive -- but PLEASE don't just ignore a problem. Your short little program may've already been fixed in the latest compiler, or it may have serendipitously uncovered a bug that causes the latest 50,000-line Fortran monster on my platter to fail. -- "The goons are riding motorcycles, but WE'VE | (Steve) rehrauer@apollo.hp.com got a whole big metal car! This will be like | Hewlett-Packard stepping on ants..." -- Freelance Police | Massachusetts Languages Lab