Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpfcso!mike From: mike@hpfcso.FC.HP.COM (Mike McNelly) Newsgroups: comp.sys.hp Subject: Re: cc optimizer dies on a few perl.4.0.beta files Message-ID: <7370347@hpfcso.FC.HP.COM> Date: 26 Mar 91 16:37:02 GMT References: Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 21 > JM> No, its not. I needed about 80 Megs of swap to optimize eval.c. I only > JM> did it once, then switched to +O1 for eval.c and toke.c. I guess the > JM> -O level of optimization in hp-ux is over ambitious. > > Besides that, I believe it's broken. A few weeks ago I spent a whole day > trying to find a bug in a program. At the end of the day I found that the > makefile had -O in it. After changing that to +O1 the program run flowlessly. > I do never use -O. I just don't trust it. > -- > Piet* van Oostrum, Dept of Computer Science, Utrecht University, > Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. > Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet > Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete') It's quite possible that the optimizer had a bug in it. It's also quite possible that the source program had a bug that was unmasked by optimization (this happens a lot). Until the problem is tracked down no one will ever know for sure. Mike McNelly mike@fc.hp.com