Run problem on the Corstone SSE-300 (MPS3) simulator

Hi,

Could someone tell me, please, what could be the issue if everything works on the -O3 optimization, but on the -O0 it stops working at the entrance to the "main()" function (freeze)?

Thanks.