|
|
I am looking at the listing file, why does ICCAVR compiler uses the same register for more than one (local) variable? Is this a bug? |
| This is not a bug. The compiler does analysis on the usage "lifetime" of the local variables and allocate them to the same registers if possible. This allows more local variables to be allocated to registers than otherwise possible.
kristil@imagecraft.com | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||