From patchwork Tue Jun 14 20:35:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 100435 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 85975B6F5A for ; Wed, 15 Jun 2011 06:34:58 +1000 (EST) Received: (qmail 11161 invoked by alias); 14 Jun 2011 20:34:57 -0000 Received: (qmail 11048 invoked by uid 22791); 14 Jun 2011 20:34:57 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 20:34:31 +0000 Received: (qmail 29398 invoked from network); 14 Jun 2011 20:34:30 -0000 Received: from unknown (HELO ?192.168.1.5?) (janisjo@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jun 2011 20:34:30 -0000 Message-ID: <4DF7C61F.4030303@codesourcery.com> Date: Tue, 14 Jun 2011 13:35:43 -0700 From: Janis Johnson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [testsuite] skip ARM tests if no thumb2 support X-IsSubscribed: yes 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 These tests apparently require thumb2 support (I don't yet know much about ARM). OK for trunk, and later 4.6? Janis 2011-06-14 Janis Johnson * gcc.target/arm/pr42879.c: Skip if no thumb2 support, ignore compiler warning about switch conflicts. * gcc.target/arm/pr45701-3.c: Likewise. Index: gcc.target/arm/pr42879.c =================================================================== --- gcc.target/arm/pr42879.c (revision 175047) +++ gcc.target/arm/pr42879.c (working copy) @@ -1,4 +1,6 @@ +/* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-options "-march=armv7-a -mthumb -Os" } */ +/* { dg-prune-output "switch .* conflicts with" } */ /* { dg-final { scan-assembler "lsls" } } */ struct A Index: gcc.target/arm/pr45701-3.c =================================================================== --- gcc.target/arm/pr45701-3.c (revision 175047) +++ gcc.target/arm/pr45701-3.c (working copy) @@ -1,5 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-options "-march=armv7-a -mthumb -Os" } */ +/* { dg-prune-output "switch .* conflicts with" } */ /* { dg-final { scan-assembler "push\t.*r8" } } */ /* { dg-final { scan-assembler-not "push\t*r3" } } */