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:
parent
e1a213a04c
commit
df268c74a1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue