re PR c++/64884 (FAIL: g++.dg/tm/pr47573.C -std=gnu++98 (test for excess errors...
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Feb 2015 21:33:37 +0000 (22:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Feb 2015 21:33:37 +0000 (22:33 +0100)
PR c++/64884
* g++.dg/tm/pr47573.C: Only run on comdat_group effective targets.

From-SVN: r220664

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tm/pr47573.C

index 0e82b76f88fca2a3a95a93bcfc174888e86cd6ea..a408c9461617cdd58d024237732cfdad75cb03cc 100644 (file)
@@ -1,5 +1,8 @@
 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
 
+       PR c++/64884
+       * g++.dg/tm/pr47573.C: Only run on comdat_group effective targets.
+
        PR sanitizer/65000
        * g++.dg/ubsan/pr65000.C: New test.
 
index 239d9222e8ef593e663100f3b45acc9170368690..1fd26896c5d7b1daf9c92043aff9358e2a68b809 100644 (file)
@@ -1,4 +1,7 @@
-// { dg-do compile }
+// Without comdat support, we don't see the body of the
+// extern template class constructor, so limit this to
+// known comdat targets.
+// { dg-do compile { target comdat_group } }
 // { dg-options "-fgnu-tm" }
 
 template<typename _Tp> class allocator