"Scott Johnson" <[EMAIL PROTECTED]> wrote in message
news:62545@palm-dev-forum...
>
> > From: Ben Combee [mailto:[EMAIL PROTECTED]]
> > I don't know of other situations where that would pop-up at opt 0,
> > but we'd be glad to see examples.  Its more likely that its a
debugger
> > bug than a code generation bug.
>
> I think I've seen local variables placed in registers even at minimum
> optimization.  The CW7 debugger release notes say this:
>
>     - Under certain scenarios, the debugger may display '*Register
>     not available*' for register-based local variables. This is due
>     to a change in the IDE for IDE 4.1. To get around this behavior,
>     you can declare the variable(s) as 'volatile'.

You may be right -- I was basing my compiler knowledge on what the x86
compiler did, but I'm not intimately familiar with the 68K compiler used
for Palm OS work.  I wonder if its an issue with the SYM info not
providing good information about saved register value for caller-saved
registers.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to