For an example:
#include <stdio.h>
#define TS_SIZE 188
int main(void)
{
volatile int offset = 0;
volatile int len = 10;
for (int i=0; i < len; i++)
{
offset =+ TS_SIZE; /* This should be += */
}
printf("Offset: %d \n", offset);
return 0;
}
Tried "-Wall, -Wextra and, -pedantic", not luck even with latest GCC (10.x) on godbolt compiler explorer.
Note: This is just a small contrived example code. Volatile's used for obvious reasons.