diff options
author | Alan Modra <amodra@gmail.com> | 2012-04-14 22:54:43 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2012-04-14 22:54:43 +0930 |
commit | 531b2c7b74cf54b2cf38523143948c3e0e503e4a (patch) | |
tree | 8d5a01f03c69bea976f56e97e4655ab97cc068f1 /libstdc++-v3/acinclude.m4 | |
parent | 01e3d28cd5de4a47cbca0d7b94ad3a0c13516dde (diff) | |
download | gcc-531b2c7b74cf54b2cf38523143948c3e0e503e4a.zip gcc-531b2c7b74cf54b2cf38523143948c3e0e503e4a.tar.gz gcc-531b2c7b74cf54b2cf38523143948c3e0e503e4a.tar.bz2 |
re PR libstdc++/52839 (double free or corruption running tr1/.../default_weaktoshared.exe)
PR libstdc++/52839
* acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
glibcxx_cv_atomic_long_long.
* configure: Regenerate.
From-SVN: r186453
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 01b06e4..6632725 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -2861,11 +2861,10 @@ EOF CXXFLAGS="$old_CXXFLAGS" AC_LANG_RESTORE - # Set atomicity_dir to builtins if all of above tests pass. + # Set atomicity_dir to builtins if all but the long long test above passes. if test $glibcxx_cv_atomic_bool = yes \ && test $glibcxx_cv_atomic_short = yes \ - && test $glibcxx_cv_atomic_int = yes \ - && test $glibcxx_cv_atomic_long_long = yes ; then + && test $glibcxx_cv_atomic_int = yes; then AC_DEFINE(_GLIBCXX_ATOMIC_BUILTINS, 1, [Define if the compiler supports C++11 atomics.]) atomicity_dir=cpu/generic/atomicity_builtins |