https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72778
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
single_set does not detect
(insn 6 19 7 2 (parallel [
(set (reg:SI 0 ax [orig:88 _5 ] [88])
(unspec_volatile:SI [
(mem/v:SI (reg/v/f:DI 5 di [orig:90 l ] [90]) [-1 S4
A32])
(const_int 32773 [0x8005])
] UNSPECV_XCHG))
(set (mem/v:SI (reg/v/f:DI 5 di [orig:90 l ] [90]) [-1 S4 A32])
(plus:SI (mem/v:SI (reg/v/f:DI 5 di [orig:90 l ] [90]) [-1 S4
A32])
(reg:SI 0 ax [orig:88 _5 ] [88])))
(clobber (reg:CC 17 flags))
]) /home/uros/gcc-svn/trunk/libgo/runtime/sema.goc:345 4933
{atomic_fetch_addsi}
(nil))
as a single-set insn.