gneworld commented on issue #12687:
URL: https://github.com/apache/nuttx/issues/12687#issuecomment-2227994697

   > Perhaps the above method is not a good method. The reason for this problem 
is that the idle thread needs to clear lr before calling nxstart, otherwise the 
unwind backtrace is likely to go wrong because the value of `lr` is uncertain 
before `__start`.
   
   @anjiahao1  but why does -O0 work correctly, while -O3 does not?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to