apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54840] atomics/unix/ppc.c won't compile on OS X
Date Sat, 13 Apr 2013 13:36:31 GMT

--- Comment #2 from Mattias EngdegÄrd <mattiase@acm.org> ---
For the record, %= in inline asm generates a unique number. From the gcc

        /* %= outputs a number which is unique to each insn in the entire
           compilation.  This is useful for making local labels that are
           referred to more than once in a given insn.  */

(I couldn't find it actually documented anywhere else.) The problem in this
case stems from the fact that the system compiler in OS X 10.5, gcc 4.0.1, does
not have that feature so a literal "%=" is inserted. However, there should be
no need for that since local labels work nicely.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message