For some reason I\'m getting an error: statement with no effect on this statement.
statement with no effect
for (j = idx; j < iter; j + increment) { printf(\"from lo
It's clear you meant +=, but in the case that isn't true, the 'volatile' qualifier should prevent warnings.