avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Incorrect Code?


From: E. Weddington
Subject: Re: [avr-gcc-list] Incorrect Code?
Date: Mon, 25 Jul 2005 17:10:04 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

User Tomdean wrote:

# avr-gcc --version
avr-gcc (GCC) 3.4.3

Optimization causes incorrect code.  Optimization, determining that I
an thru with a variable, optimizes it away, causing incorrect results.

That sounds an awful lot like an issue with not correctly using the "volatile" keyword.

The code:
Please point out what you think the problem is.




reply via email to

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