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

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

Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os


From: Thomas D. Dean
Subject: Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os
Date: Fri, 16 May 2008 09:05:56 -0700 (PDT)

In my case, I want to allow interrupts, just want to keep the
statement ordering in the code segment.

The PORTA bits are used for hardware control.  I want to use the
atan2(), etc. calls as pulse stretching.

Making the resultant variable volatile works.

tomdean




reply via email to

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