Message-ID: <36894BAB.61D18F84@gmx.de> Date: Tue, 29 Dec 1998 22:37:47 +0100 From: Christian Hofrichter X-Mailer: Mozilla 4.5 [de]C-CCK-MCD QXW03201 (Win95; I) X-Accept-Language: de,en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Can't unroll loops when using "-O" Optimation and having defined labels with asm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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 !