> * expr.h: Remove prototypes. > * sync-builtins.def (BUILT_IN_SYNC_MEM_FLAG_TEST_AND_SET, > BUILT_IN_SYNC_MEM_FLAG_CLEAR): Remove. > * optabs.h (enum direct_optab_index): Remove DOI_sync_mem_flag_*. > * optabs.c (expand_sync_lock_test_and_set): Remove. > (expand_sync_mem_exchange): Incorporate sync_lock_test_and_set here. > (expand_sync_mem_store): If storing const0_rtx, try using > sync_lock_release. > * builtins.c (expand_builtin_sync_lock_test_and_set): Expand into > sync_mem_exchange instead. > (expand_builtin_sync_lock_release): Expand into sync_mem_store of 0. > (expand_builtin_sync_mem_flag_test_and_set): Remove. > (expand_builtin_sync_mem_flag_clear): Remove. > (expand_builtin): Remove cases for __SYNC_MEM_FLAG_*. > * doc/extend.texi: Update documentation to match. > > * testsuite/gcc.dg/sync-mem-invalid.c: Remove __sync_mem_flag_clear > tests. > * testsuite/gcc.dg/sync-mem-flag.c: Remove.
Ok. r~