From: Jason Merrill Date: Fri, 25 Dec 2015 03:25:09 +0000 (-0500) Subject: Correct use of __GXX_WEAK__ macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4a0c79b1a70840486f3df4eae1195101870fa61;p=gcc.git Correct use of __GXX_WEAK__ macro. * testsuite/ext/bitmap_allocator/check_deallocate_null.cc * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc From-SVN: r231953 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 766e9f16080..1f83eaffcdd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-12-24 Jason Merrill + + * testsuite/ext/bitmap_allocator/check_deallocate_null.cc + * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: + Correct use of __GXX_WEAK__ macro. + 2015-12-22 Jonathan Wakely PR libstdc++/59768 diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc index 70b025d6c8a..8f2bcf13f3c 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator; #endif diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc index 4fb6689ea6a..5850508c5a8 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator; #endif