Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!uunet!mcsun!hp4nl!ruuinf!praxis!edwin From: edwin@praxis.cs.ruu.nl (Edwin Kremer) Newsgroups: comp.sys.hp Subject: Re: Possible HP-UX compiler optimizer bug (found while making Perl) Message-ID: <1785@ruuinf.cs.ruu.nl> Date: 9 Nov 89 21:35:31 GMT References: <4413@fmeed1.UUCP> Sender: news@ruuinf.cs.ruu.nl Lines: 23 In article <4413@fmeed1.UUCP> wehr@fmeed1.UUCP (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). Refer to the chapter of about the C optimizer in your HP-UX 6.5 Upgradenotes file. The -O flag causes the peephole optimizer to use the highest implemented optimize level. This is not properly implemented; I've a few pieces of C code that either crash or hang the compiler. I always use "+O1", that causes the compiler to use the usual (6.2) optimize level. --[ Edwin ]-- -- Edwin Kremer, Department of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Phone : +31 - 30 - 534104 | Telefax: +31 - 30 - 513791 E-Mail: edwin@cs.ruu.nl | UUCP to: ...!hp4nl!ruuinf!edwin