Mail Archives: djgpp/1998/12/29/16:39:38
I have defined labels in my asm-code within a loop, but cannot use the
"unrool-loops switch" in combination with the "O"-Optimation.
Everytime I try this, I get the following error:
"Fatal Error: Symbol XXX already defined" (Where XXX is my
label)
This also happens when I write the correct (I think so) but nonsense
code:
unsigned short x;
for (x=0;x<8;x++)
{
asm("jmp end\n\t"
"end:\n\t");
}
How can I avoid this ?
Even the "volatile" command after asm did not help !
- Raw text -