https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103205
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #2) > [hjl@gnu-cfl-2 pr103205]$ cat s2.c > unsigned short sync_fetch_and_and_short_15_a; > unsigned short > __attribute__sync_fetch_and_and_short_15 (void) > { > return __sync_fetch_and_and(&sync_fetch_and_and_short_15_a, ~1) & 1; > } This one started with r7-532-gadedd5c173388ae5.