From: Jason Merrill Date: Fri, 25 Dec 2015 03:25:09 +0000 (-0500) Subject: Correct use of __GXX_WEAK__ macro. X-Git-Tag: basepoints/gcc-7~1889 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4a0c79b1a70840486f3df4eae1195101870fa61;p=thirdparty%2Fgcc.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 766e9f160802..1f83eaffcddd 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 70b025d6c8ac..8f2bcf13f3cf 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 4fb6689ea6a5..5850508c5a82 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