delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/22/16:10:55

Message-ID: <35672D09.F0E6E2C9@hotmail.com>
Date: Sat, 23 May 1998 22:09:45 +0200
From: Archee/CoNTRACT <soltesz AT hotmail DOT com>
Reply-To: soltesz AT hotmail DOT com
Organization: School
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: gcc bug (when optimizing)

hello there !

I have a big problame with inline asm.
When I have a procedure, I use __asm__ ("...."), there are jumps in
the asm statement.

When I set option -O9, and I call the procedure sometimes(more than one)
I got an asssembler error after gcc putted my code into a .S file and
called
as.exe I got a message like this:

 SIMBOL ALREADY DEFINED...

When I see it by issuing the following command:
gcc -O9 -S code.c

I can see, it builited my __asm__ code sometimes in the code, it did not
called it with call.

I think it is an optimizing feature, because call is a waste of speed.

I donwanna disable that optimizing feature.

  How can I use local simbols in gcc inline asm ?

Thanks in adventure.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019