We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I'm using Keil uVision V5.24.2.0 with ARM Compiler V5.06 update 5 (build 528). Initially, compiler optimization level was set to 1.
With this level, I found that the address assigned to a pointer changed, without any modification done by the code. To avoid this I reduced the optimization level to 0 and pointer address remained the same throughout and system reset, didn't occur.
Kindly, help me understand why would compiler optimization effect in such a way?
Here, is what I found www.keil.com/.../armcc_chr1359124221739.htm
Thank you in advance.