http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46187
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2010-10-26 19:28:34 UTC --- (In reply to comment #0) > The code is supposed to emit the correct instruction suffix for SUB using %z > when n is an immediate value that does not give the operand size away. Is > there > another way to achieve the same effect? In your particular case, you can use __sync_fetch_and_sub, please see GCC docs.