Mail Archives: djgpp/1998/05/22/23:47:03
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
- Raw text -