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: r186650
This commit is contained in:
Alan Modra 2012-04-21 22:57:44 +09:30 committed by Alan Modra
parent e1a213a04c
commit df268c74a1
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2012-04-21 Alan Modra <amodra@gmail.com>
PR libstdc++/52839
* acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
glibcxx_cv_atomic_long_long.
* configure: Regenerate.
2012-04-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
PR bootstrap/52840

View File

@ -2955,11 +2955,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