http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54087
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-24 19:22:00 UTC --- (In reply to comment #1) > Use __atomic_add_fetch and __atomic_fetch_sub in the testcase, and you will Eh, __atomic_fetch_add.