How do you compile?
I don't have any arm-gcc at hand right now, but I tried v3.4.4 and
v4.2.2 of GCC and I can't get that warning. I compile with
1 | gcc -W -Wall -pedantic -std=c99 -c test.c
|
Also, from a logical point of view, I don't see why a line containing a
label only(!) could ever generate a warning "will never be executed".
I guess you have some other problems in your code as well, such as the
fact that you are reading the data from the memory and write it back to
exactly the same position. (Apart from the other things people advised
you in the comp.lang.c.moderated group.)
I'm afraid nobody will be able to help you unless you post a minimal
complete program that enables us to reproduce your problem.
Cheers
Thomas