diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-14 12:57:43 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-14 12:57:43 +0000 |
commit | 14a88549539804115326818690e66a96cc937019 (patch) | |
tree | 46cd8d1ce469454b6874a0ef50ba2a32889f1046 /libgomp/acinclude.m4 | |
parent | 8e051ef433359a2e2a72702142c30c69b477d746 (diff) | |
download | gcc-14a88549539804115326818690e66a96cc937019.tar.gz |
* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but
not unused bar variable.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/acinclude.m4')
-rw-r--r-- | libgomp/acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4 index 9e6b77b247a..0c671d4eb74 100644 --- a/libgomp/acinclude.m4 +++ b/libgomp/acinclude.m4 @@ -5,7 +5,7 @@ dnl Check whether the target supports __sync_*_compare_and_swap. AC_DEFUN([LIBGOMP_CHECK_SYNC_BUILTINS], [ AC_CACHE_CHECK([whether the target supports __sync_*_compare_and_swap], libgomp_cv_have_sync_builtins, [ - AC_TRY_LINK([], [int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);], + AC_TRY_LINK([], [int foo; __sync_val_compare_and_swap(&foo, 0, 1);], libgomp_cv_have_sync_builtins=yes, libgomp_cv_have_sync_builtins=no)]) if test $libgomp_cv_have_sync_builtins = yes; then AC_DEFINE(HAVE_SYNC_BUILTINS, 1, |