From patchwork Thu Aug 25 11:45:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Terry Guo X-Patchwork-Id: 111556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 892BEB6F70 for ; Thu, 25 Aug 2011 21:46:03 +1000 (EST) Received: (qmail 14028 invoked by alias); 25 Aug 2011 11:46:01 -0000 Received: (qmail 14020 invoked by uid 22791); 25 Aug 2011 11:46:01 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, MSGID_MULTIPLE_AT, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (94.185.240.25) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 25 Aug 2011 11:45:47 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 25 Aug 2011 12:45:45 +0100 Received: from Terrysh02 ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 25 Aug 2011 12:45:43 +0100 From: "Terry Guo" To: Subject: [PATCH, testsuite] Avoid architecture options conflict for case pr42894.c Date: Thu, 25 Aug 2011 19:45:37 +0800 Message-ID: <000c01cc631c$83737dc0$8a5a7940$@guo@arm.com> MIME-Version: 1.0 X-MC-Unique: 111082512454504201 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello, I think it is useful to run this case for newer arm targets. So the patch intends to skip the warning of architecture conflicts. Is it ok to commit to trunk? BR, Terry gcc/testsuite/ChangeLog: 2011-08-25 Terry Guo * gcc.dg/tls/pr42894.c: Add dg-prune-output to skip architecture conflict. diff --git a/gcc/testsuite/gcc.dg/tls/pr42894.c b/gcc/testsuite/gcc.dg/tls/pr42894.c index c3bd76c..cda6719 100644 --- a/gcc/testsuite/gcc.dg/tls/pr42894.c +++ b/gcc/testsuite/gcc.dg/tls/pr42894.c @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-march=armv5te -mthumb" { target arm*-*-* } } */ /* { dg-require-effective-target tls } */ +/* { dg-prune-output "switch .* conflicts with" } */ extern __thread int t;