From patchwork Wed May 25 17:20:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 626289 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rFJw50L1gz9sdm for ; Thu, 26 May 2016 03:21:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=k2CVKzRQ; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; q=dns; s=default; b=tFs RbFVPIdZyFsZI8qRehYz9GSwT97tKCi2rUKIoHlRWFIA2RtwltsJM+pg3OUjlAOx ya8UZ+6L/E0qkzWofiM5NZLhaOOG6boVyK5oDmGBo1Hila47cimey/55nceGx5Cv LkaXJqwNIa8js/TAACZruvNcVxtcrTrfpUu9h2XM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=default; bh=YHpROUt3a e7tOgdLlyjs6GMQedE=; b=k2CVKzRQHCo9agk3qOstSxz5Lx82Y2Ro3/ld7ZaZm cr8SQIdXxfAfChNJvYiBqblXRz42mcKgM3tlH6t7Go8jv6lTW8gCY6sXO7cG6cE2 MH2pr88+QPzc9hTkFtgTUJs9+RVA/wfM+9ur3ZVbclx4C5hFkKVNVsFXL64AAPCM I8= Received: (qmail 11054 invoked by alias); 25 May 2016 17:20:51 -0000 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 Received: (qmail 11034 invoked by uid 89); 25 May 2016 17:20:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=TARGET_THUMB1, target_thumb1, HTo:U*ro, 9012 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 May 2016 17:20:40 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 464BDF; Wed, 25 May 2016 10:21:02 -0700 (PDT) Received: from e108577-lin.localnet (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 49D903F218; Wed, 25 May 2016 10:20:38 -0700 (PDT) From: Thomas Preudhomme To: gcc-patches@gcc.gnu.org, ro@cebitec.uni-bielefeld.de, mikestump@comcast.net Subject: [PATCH, testsuite] Skip tail call tests on Thumb-1 targets Date: Wed, 25 May 2016 18:20:33 +0100 Message-ID: <2601986.QZc99cPl7b@e108577-lin> User-Agent: KMail/4.13.3 (Linux/3.13.0-85-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 X-IsSubscribed: yes Hi, The sibcall_epilogue expand in arm.md is only defined for TARGET_32BIT targets and thus is not defined for TARGET_THUMB1 targets. As a result, tail call plugin tests fail with "cannot tail-call: machine description does not have a sibcall_epilogue instruction pattern". This patch skip these tests on Thumb-1 since these are expected to fail. ChangeLog entry is as follows: *** gcc/testsuite/ChangeLog *** 2016-05-24 Thomas Preud'homme * gcc.dg/plugin/plugin.exp: skip tail call tests for Thumb-1. Is this ok for trunk? Best regards, Thomas diff --git a/gcc/testsuite/gcc.dg/plugin/plugin.exp b/gcc/testsuite/gcc.dg/plugin/plugin.exp index 62f6797..321b4ba 100644 --- a/gcc/testsuite/gcc.dg/plugin/plugin.exp +++ b/gcc/testsuite/gcc.dg/plugin/plugin.exp @@ -90,6 +90,12 @@ foreach plugin_test $plugin_test_list { if ![runtest_file_p $runtests $plugin_src] then { continue } + # Skip tail call tests on targets that do not have sibcall_epilogue. + if {[regexp ".*must_tail_call_plugin.c" $plugin_src] + && [istarget arm*-*-*] + && [check_effective_target_arm_thumb1]} then { + continue + } set plugin_input_tests [lreplace $plugin_test 0 0] plugin-test-execute $plugin_src $plugin_input_tests }