diff options
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 205d586fc33..516292783bc 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5512,7 +5512,7 @@ fold_builtin_atomic_always_lock_free (tree arg0, tree arg1) /* Check if a compare_and_swap pattern exists for the mode which represents the required size. The pattern is not allowed to fail, so the existence of the pattern indicates support is present. */ - if (can_compare_and_swap_p (mode)) + if (can_compare_and_swap_p (mode, true)) return integer_one_node; else return integer_zero_node; |