Tool/software: TI C/C++ Compiler
Hello,
We are using functions from the C library that make use of the sigTable array, which gets initialized as follows:
static __sighandler_t *sigTable[NSIG] = {0};
The issue we found is that the compiler/library is not initializing the whole array with zeros, just a few words of it, and most of the array stays with random data.
It seems to be C standard that the = {0} initializes the whole array to 0s, and not just the first word/s. But the C compiler/library is not doing it.
We tried different compiler versions and they all do the same.
Is there an easy explanation for this behavior?
Thanks,
Max