From d6d77e665ba06e719639a04ee8d2176f7e2dcd2a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Feb 2015 22:33:37 +0100 Subject: [PATCH] re PR c++/64884 (FAIL: g++.dg/tm/pr47573.C -std=gnu++98 (test for excess errors) on x86_64-apple-darwin*) PR c++/64884 * g++.dg/tm/pr47573.C: Only run on comdat_group effective targets. From-SVN: r220664 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/g++.dg/tm/pr47573.C | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0e82b76f88f..a408c946161 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2015-02-12 Jakub Jelinek + 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. diff --git a/gcc/testsuite/g++.dg/tm/pr47573.C b/gcc/testsuite/g++.dg/tm/pr47573.C index 239d9222e8e..1fd26896c5d 100644 --- a/gcc/testsuite/g++.dg/tm/pr47573.C +++ b/gcc/testsuite/g++.dg/tm/pr47573.C @@ -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 class allocator -- 2.30.2