This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler issues unwarranted warning for violation of MISRA 9.2

Hi,

Toolset 4.9.0B1

In SDSCM00038504 I reported misreporting of MISRA 9.2 warning for zero initialisation of array such as;

unsigned int arraya2[5] = { 0U };

This has been reported as fixed in 4.9.0B1. However, although it has been fixed for single dimension array initialisation, 4.9.0B1 still misreports MISRA 9.2 for two dimensional arrays, such as;

unsigned int array2d[5][5] = { 0U };

I don't know whether other dimension array initialisation is similarly misreported, but I would have thought it is.

Regard, Tony.