This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25229] __sync_add_and_fetch cannot use condition flags from subl
- From: "bcrl at kvack dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2005 20:06:42 -0000
- Subject: [Bug c/25229] __sync_add_and_fetch cannot use condition flags from subl
- References: <bug-25229-10043@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bcrl at kvack dot org 2005-12-02 20:06 -------
The attached program should generate code that looks something like:
fput:
addl $-1,(%rdi)
jne .L4
jmp release
.L4:
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25229