Date: Wed, 29 May 1996 20:48:12 +0200 (MET DST) From: grog@lemis.de (Greg Lehey) To: gpalmer@FreeBSD.ORG (Gary Palmer) Cc: hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: Re: I HATE OPTIMISING COMPILERS Message-ID: <199605291848.UAA24634@allegro.lemis.de> In-Reply-To: <1403.833392536@palmer.demon.co.uk> from "Gary Palmer" at May 29, 96 06:55:36 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Palmer writes: > > Greg Lehey wrote in message ID > <199605291108.NAA20309@allegro.lemis.de>: >> Well, it looks like what you hate is a broken compiler. That's not >> optimizing, that's just broken. > > Well, it was the -O which was the culprit, which (to me at least) > points to a problem in the optimisation code. Sure. The compiler's broken in the optimizer. But it's broken. It's not the purpose of optimization to change the function of the code. >> How come you didn't use gdb to follow up the problem? > > Would gdb have been able to track this down? I'm not so sure. That, > and I have never liked gdb. I used gdb to track the execution path and > then dove into the sources to see what was going on. I assume you wrote this before you saw my example. I'd be very interested to hear what you say to that. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605291848.UAA24634>