I come across strange issue with Optimization setting O2 and O3 option my code will not work due to PC corruption, with O1 and O0 code woke fine, our target procesor is Arch64bit Cortex-A53. how to fix this issue. my i know what is the limitation of Heap and stack memory for this arm debugger FVP Cortex-A53. please suggest me how to resolve or Debug this issue.
I am using ARM compiler 6 toll chain to build my code with DS-5 software, Debug with Cortex-A53 FVP
I have seen disassembly and found that only when neon register(STUR q0,[X0,#-0x010], X0 address valid ) are using this PC corruption happening. code is breaking (Not working)
Would you like to elaborate your questions in more details? e.g. PC corruption log, DS-5 screenshot for the corruption, offending code piece, the O2/O3 assembly code etc.