Correct use of __GXX_WEAK__ macro.
authorJason Merrill <jason@redhat.com>
Fri, 25 Dec 2015 03:25:09 +0000 (22:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 25 Dec 2015 03:25:09 +0000 (22:25 -0500)
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc
* testsuite/ext/bitmap_allocator/check_allocate_max_size.cc

From-SVN: r231953

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc
libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc

index 766e9f160802295f07aaba99bd4131a9ceb7391a..1f83eaffcddda7199cf2f95c775246a91eab74d0 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-24  Jason Merrill  <jason@redhat.com>
+
+       * 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  <jwakely@redhat.com>
 
        PR libstdc++/59768
index 70b025d6c8acd0340969ec974f2678ad2c381c63..8f2bcf13f3cf1957e035662d16e580549bce1655 100644 (file)
@@ -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<value_type>;
 #endif
index 4fb6689ea6a58fe48dbda338c61012c1aa4c5989..5850508c5a821c691c82c59d8d0c8922761ebe62 100644 (file)
@@ -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<value_type>;
 #endif