[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-gcc bug

From: J Wunsch
Subject: Re: [avr-gcc-list] avr-gcc bug
Date: Sun, 22 Apr 2001 00:41:54 +0200 (MET DST)

Denis Chertykov <address@hidden> writes:

> It's not a bug.
> GCC optimize dead loops.

It is.  Counting a wrong value can hardly be described as
`optimizing'.  Either the loop is optimized out completely (but we've
been there, this is at least contradictionary to traditional gcc
behaviour which was IMHO intentional -- but sorry, i can't find the
reference for this in the gcc info files right now), or it is left
intact.  Decrementing the loop counter by an arbitrary value can only
be described by the word `bug'.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]