|
From: | Thomas D. Dean |
Subject: | Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os |
Date: | Thu, 15 May 2008 09:24:16 -0700 (PDT) |
> The result of the atan2 does not impact the bit value written to PORTA, > so the compiler is free to re-order it. That's what optimizers do. If I change atan2() to sin() the compiler keeps the correct sequence.
[Prev in Thread] | Current Thread | [Next in Thread] |