Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: jasonp AT Glue DOT umd DOT edu (Jason Stratos Papadopoulos), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Q: local labels in inline asm Date: Fri, 22 May 1998 20:42:38 -0700 Message-ID: <19980523034225.AAG10307@ppp110.cartsys.com> Precedence: bulk At 05:48 5/22/1998 GMT, Jason Stratos Papadopoulos wrote: >Hello. I was wondering: is there a way to make labels inside >an inline asm block so that if the code is inlined multiple >times the labels will all have different names? e.g. if > >void foo() { > asm( something that has labels in it ); >} > >gets used several times in a program, can you name the labels >somehow so that if you compile with -O3 and foo() gets inlined >everywhere the labels will all be different from each other? See my posting on the thread "gcc bug (when optimizing)". You use local labels (info as symbols "Symbol Names"). Nate Eldredge nate AT cartsys DOT com