Hello!
The following code reports MISRA rule 17.6 violation, that in my opinion shouldn't be reported:
int16_t global_var;
void Test(const int16_t *input)
{
global_var = *input;
}
Code was tested on C2000 compiler, version 6.2.8. Could it be a bug in MISRA checker?
Best regards,
Jernej