acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but not unused bar variable.
* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but not unused bar variable. * configure: Regenerate. From-SVN: r158344
This commit is contained in:
parent
8406cb6260
commit
289a9f867a
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-04-14 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but
|
||||
not unused bar variable.
|
||||
* configure: Regenerate.
|
||||
|
||||
2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* Makefile.in: Regenerate.
|
||||
|
|
|
@ -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,
|
||||
|
|
2
libgomp/configure
vendored
2
libgomp/configure
vendored
|
@ -15952,7 +15952,7 @@ else
|
|||
int
|
||||
main ()
|
||||
{
|
||||
int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
|
||||
int foo; __sync_val_compare_and_swap(&foo, 0, 1);
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue