To: djgpp AT delorie DOT com Subject: inlined functions with inline assembly using -O3 Message-ID: <19961207.112251.8007.0.aclemmer@juno.com> From: aclemmer AT juno DOT com (Aaron m Clemmer) Date: Fri, 06 Dec 1996 23:25:21 EST 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