Mail Archives: djgpp/1996/12/06/23:34:32
what a descriptive subject... =) Anyway, I have a function that
I inlined using "extern __inline__", and placed it in just my header
file. The function contains inline assembly, which has several labels
for jumps. When I compile with -O0 (ie, no optimizations), everything
works fine, but when I turn on the optimizations (-O1, 2 or 3), however,
I get an error message. It says "symbol 'l1' already defined" (l1 would
be the name of a label). It seems to be that when I call the code a few
times in a function, I end up with the same labels defined more than
once, but I have no idea how to fix this. The relevant code is a little
long, so if anyone can help without my posting it, that would be great.
aaron
- Raw text -