Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
int a = 6;
main {
DbgPrint("a=%d', a);
}
when I run t the variable a should be 6 but not!!
Who should init that variable , no the compiler ? I don't expect CRT to set it . I expect only .bbs section to be set to zero by CRT at runtime stage.
Both those expectations are incorrect. It's precisely the CRT that's supposed to do that initialization.