From: jasonp AT Glue DOT umd DOT edu (Jason Stratos Papadopoulos) Newsgroups: comp.os.msdos.djgpp Subject: Q: local labels in inline asm Date: 22 May 1998 05:48:05 GMT Organization: University of Maryland, College Park Lines: 14 Message-ID: <6k33il$fnt$1@hecate.umd.edu> NNTP-Posting-Host: z.glue.umd.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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? Thanks in advance, jasonp