PR libstdc++/51798 continued.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 17 Feb 2012 20:51:58 +0000 (20:51 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 17 Feb 2012 20:51:58 +0000 (20:51 +0000)
2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/51798 continued.
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
__atomic_, not __sync.
* configure: Regenerated.

From-SVN: r184350

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index 617cce6..34fd141 100644 (file)
@@ -1,5 +1,12 @@
 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
 
+       PR libstdc++/51798 continued.
+       * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
+       __atomic_, not __sync.
+       * configure: Regenerated.
+       
+2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
+
        PR libstdc++/47058
        * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
        (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
index 46a5532..b832527 100644 (file)
@@ -2824,7 +2824,7 @@ EOF
 
     AC_MSG_CHECKING([for atomic builtins for bool])
     if AC_TRY_EVAL(ac_compile); then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_bool=no
       else
        glibcxx_cv_atomic_bool=yes
@@ -2853,7 +2853,7 @@ EOF
 
     AC_MSG_CHECKING([for atomic builtins for short])
     if AC_TRY_EVAL(ac_compile); then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_short=no
       else
        glibcxx_cv_atomic_short=yes
@@ -2883,7 +2883,7 @@ EOF
 
     AC_MSG_CHECKING([for atomic builtins for int])
     if AC_TRY_EVAL(ac_compile); then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_int=no
       else
        glibcxx_cv_atomic_int=yes
@@ -2912,7 +2912,7 @@ EOF
 
     AC_MSG_CHECKING([for atomic builtins for long long])
     if AC_TRY_EVAL(ac_compile); then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_long_long=no
       else
        glibcxx_cv_atomic_long_long=yes
index c053be3..a15c05d 100755 (executable)
@@ -15322,7 +15322,7 @@ $as_echo_n "checking for atomic builtins for bool... " >&6; }
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_bool=no
       else
        glibcxx_cv_atomic_bool=yes
@@ -15357,7 +15357,7 @@ $as_echo_n "checking for atomic builtins for short... " >&6; }
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_short=no
       else
        glibcxx_cv_atomic_short=yes
@@ -15393,7 +15393,7 @@ $as_echo_n "checking for atomic builtins for int... " >&6; }
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_int=no
       else
        glibcxx_cv_atomic_int=yes
@@ -15428,7 +15428,7 @@ $as_echo_n "checking for atomic builtins for long long... " >&6; }
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-      if grep __sync_ conftest.s >/dev/null 2>&1 ; then
+      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
        glibcxx_cv_atomic_long_long=no
       else
        glibcxx_cv_atomic_long_long=yes