From patchwork Mon Apr 20 07:47:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1273169 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=JQWezISS; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 495Jhf0Zzpz9sSh for ; Mon, 20 Apr 2020 17:48:01 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 15D3A384A03F; Mon, 20 Apr 2020 07:47:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15D3A384A03F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587368865; bh=d5s/jugeAX6Ddc+Vn8Bhiz4+hj1vGf5nK4lkbmEvXYE=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=JQWezISSwds/oW5mBNW/svorzFVp/X1EbFu7mr+PZFHriStnQ+w1ZdJecYXV6GHeN vcdEEoCPjtMRKQsOM6+cYrJf1O3NsvaZ0kKNOhlzjRxMrM0tZVdz4pVKj+ItPC06S6 Jtbh5UJaS1gIT3Dsgr/hY3Psk0w6usVcTRRzaEVA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 55F993851427 for ; Mon, 20 Apr 2020 07:47:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 55F993851427 Received: by mail-wm1-x32c.google.com with SMTP id h2so9838660wmb.4 for ; Mon, 20 Apr 2020 00:47:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=d5s/jugeAX6Ddc+Vn8Bhiz4+hj1vGf5nK4lkbmEvXYE=; b=BQJb61ccpoSarCB3ERgxxp8DoJ1uDx/85lae0Rx4uzVczI4O9qvN0Nl95r+tvrwUXJ wsSOcTtHBRMvDU00jbPpsiyzRh0FZBd+TugrUyVetUWin00DXowE9KUK1Ig5xwhRvuHd ohnmz9csE9GOqT7AX4xtj6hAD0rdYPNKbMayC3sVbCbwwH4i9TX2JSChgTpRhGT9FfeG ISXqjv3bV0NzV8O6vHXsESzyfinrrcOojWGEH0bAKRmMI8JsSLwKfJF2perKHBYTMdca TrQumgqhjIRX8i+RT4jUX9v7Ve4I745vrA6C7XT0QY9U8YsddOrCcorHXzvr8HC7udaV h7tw== X-Gm-Message-State: AGi0PuasZ0bFqM2zKJz4kI615VlJD1S/VQv0t1oB9QeULDDiU8pseHuB hJ2Wh8ztTW7wt++xwazBhaFWGhbAnWWhwTxJ X-Google-Smtp-Source: APiQypJPrdNoBS2zFH4444VzwUPKLopuZIbPei3Zn8n4GqfXpiRd7ycDvUomgHhb54LVCSTzUJhfYQ== X-Received: by 2002:a05:600c:20f:: with SMTP id 15mr16591647wmi.71.1587368860947; Mon, 20 Apr 2020 00:47:40 -0700 (PDT) Received: from localhost.localdomain (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id w12sm58509wrk.56.2020.04.20.00.47.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2020 00:47:40 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 2/2] testsuite: [arm] Include arm_acle.h in related effective targets Date: Mon, 20 Apr 2020 07:47:39 +0000 Message-Id: <1587368859-5619-2-git-send-email-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1587368859-5619-1-git-send-email-christophe.lyon@linaro.org> References: <1587368859-5619-1-git-send-email-christophe.lyon@linaro.org> X-Spam-Status: No, score=-24.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Since arm_acle.h includes stdint.h, its use requires the presence of the right gnu/stub-*.h, so make sure to include arm_acle.h when checking the effective targets that generally imply that the testcase will include it: arm_dsp, arm_crc, arm_coproc[1-4] This makes several tests unsupported rather than fail. --- gcc/testsuite/lib/target-supports.exp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 23a5abf..f3d3ae4 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -3731,6 +3731,7 @@ proc check_effective_target_arm_dsp { } { #ifndef __ARM_FEATURE_DSP #error not DSP #endif + #include int i; }] } @@ -4032,6 +4033,7 @@ proc check_effective_target_arm_crc_ok_nocache { } { #if !defined (__ARM_FEATURE_CRC32) #error FOO #endif + #include } "$et_arm_crc_flags"] } @@ -9855,6 +9857,7 @@ proc check_effective_target_arm_coproc1_ok_nocache { } { #if (__thumb__ && !__thumb2__) || __ARM_ARCH < 4 #error FOO #endif + #include }] } @@ -9874,6 +9877,7 @@ proc check_effective_target_arm_coproc2_ok_nocache { } { #if (__thumb__ && !__thumb2__) || __ARM_ARCH < 5 #error FOO #endif + #include }] } @@ -9894,6 +9898,7 @@ proc check_effective_target_arm_coproc3_ok_nocache { } { || (__ARM_ARCH < 6 && !defined (__ARM_ARCH_5TE__)) #error FOO #endif + #include }] } @@ -9913,6 +9918,7 @@ proc check_effective_target_arm_coproc4_ok_nocache { } { #if (__thumb__ && !__thumb2__) || __ARM_ARCH < 6 #error FOO #endif + #include }] }