Binutils actions? binutils/debug.c miscompiled with 2.95.4 < gcc < 3.0.2 in i386/ia32.

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Dec 19 09:49:00 GMT 2001


> From: Nick Clifton <nickc@cambridge.redhat.com>
> Date: 19 Dec 2001 10:00:39 +0000

> Personally I would be in favour of disguising a work-around as a
> coding enhancement.  For example you might remove the tail recursion in
> favour of a while loop (and cite performance optimisation as a reason
> ;-).

Yeah, I'd like to do something in this direction, similar to
what I did in
<URL:http://sources.redhat.com/ml/binutils/2001-11/msg00274.html>,
but I haven't found such a solution yet; just dummy calls.
Changing the code to a while loop means a rewrite, methinks:
again, the problem is that some older gcc *compile* it as a
while-loop / tail-recursion, while the code isn't. :-)

brgds, H-P



More information about the Binutils mailing list