Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!ruuinf!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.sys.hp Subject: Re: Possible HP-UX compiler optimizer bug (found while making Perl) Message-ID: <1782@ruuinf.cs.ruu.nl> Date: 9 Nov 89 11:25:47 GMT References: <4413@fmeed1.UUCP> Sender: news@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, University of Utrecht, Holland Lines: 15 In-reply-to: wehr@fmeed1.UUCP (Bruce Wehr) In article <4413@fmeed1.UUCP>, wehr@fmeed1 (Bruce Wehr) writes: `We just got Perl 3.0 from c.s.u. Making it on our HP 9000/370 running `HP-UX 6.5 with the optimizer caused the compiler to hang on these files: `eval.c (&& teval.c), toke.c (&& ttoke.c), x2p/walk.c. These files had `to be manually compiled without the optimizer (we told Configure to use `-O). ` I can't remember exactly, but in my Makefile I have +O1 rather than -O. I think it was because -O didn't work. I have also used gcc with -O, but that seemed to generate slower code!!. -- Piet* van Oostrum, Dept of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31-30-531806 Uucp: uunet!mcsun!hp4nl!ruuinf!piet Telefax: +31-30-513791 Internet: piet@cs.ruu.nl (*`Pete')