From patchwork Thu Dec 5 07:05:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederik Harwath X-Patchwork-Id: 1204504 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=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-515189-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="sNNFfzxy"; dkim-atps=neutral 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 47T6Dx35pWz9sPL for ; Thu, 5 Dec 2019 18:05:34 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Kr46855Soc1AuZJD YB3xbMvlCXNSioUepxCF53wScmeKlF0dUJA8VzIRfTwd1ZHoZIXAoyvMOD0WHK5X Vi3/kH+rC64ysgxVNLY8NZY4v07K+fWSTpY+LdbbjNu0uUFCzmPauxdO4BoJiybQ 8ptjhDBDnNo1utgwvH/VZ9wtVHk= 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 :subject:to:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=4zIJsxTGEiVuuGUnAy7QFP CosMo=; b=sNNFfzxyBXnAEe1CH5JVOJ0K3nbKnp8c7NdPqKHVQY1G4uXoVxDu8V yTFg/f1ortIBZY+LzTBmWGDYXlH/EucghIpJv7YdcNECfO8f9CXWbDnc0qqBdiVs ql/gTeOhjQzgNogItl+UIly04tk01AVgAu5/c/4A30iEZluqWVUGY= Received: (qmail 57697 invoked by alias); 5 Dec 2019 07:05:26 -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 57683 invoked by uid 89); 5 Dec 2019 07:05:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_PASS autolearn=ham version=3.3.1 spammy=278932 X-HELO: esa1.mentor.iphmx.com Received: from esa1.mentor.iphmx.com (HELO esa1.mentor.iphmx.com) (68.232.129.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Dec 2019 07:05:24 +0000 IronPort-SDR: OM9CdvTrpOvWjCxhGL+Hbq8yREHu6PeFj2JXLsQ+IY4zx5XXWk/dcQ3J2YM2+ZfG8+LIewF6ah Ldo3QUf2smQ57dOqzUnP9pbdLXu6KFvmbdCMJTNtCBXFtC7+iYvYwf157tb9FyrKs9V97E0npP 3SwW5Qg8RgfPVaQOScxIP0bY5Kebnv/A4jTLO5fY59bqUYZJ+E7k04T61YYe/BbK/U9oG8KLQA eEW6C6bH8v7mXuLJADSkISTZoxhQl8HPe4+VMa/Mmf3Zuav3XO61goaRzGSecKwfox3vohK8rQ EMo= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 04 Dec 2019 23:05:22 -0800 IronPort-SDR: se055tKKZ33ayHIXPaKoru/Qp7jsfAz1xKkkRbD8ozvnr6cFkjtlvndumTaZWzUhpEuoCvIxUi /zXgBHMog2bHjCqCIvuhz3aaLITwMK66fNT3z82IKj0C64uxUL+jQs/ZZQwVUtSO4IZ7SoFcCu cN7z6MzQ8BbloxIL+1Zf2+HC37TysvDkW3N+W0FTkfhA6F7Z6oxVSZj6ruD7cYkH0AkBh/L0Q3 b/c0HWDCBVb7ExQQEfSTnRvtFMbCpMrHO9w6AS+pO6gpjfbcV9zkVKLN5HhMqj4ETRl6xMVCUY OMY= From: "Harwath, Frederik" Subject: [PATCH][AMDGCN] Skip test gcc/testsuite/gcc.dg/asm-4.c To: "Stubbs, Andrew" , GCC Patches X-Pep-Version: 2.0 Message-ID: Date: Thu, 5 Dec 2019 08:05:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 X-IsSubscribed: yes Hi, the inline assembly "p" modifier ("An operand that is a valid memory address is allowed", cf. https://gcc.gnu.org/onlinedocs/gcc/Simple-Constraints.html#Simple-Constraints) is not supported on AMD GCN. This causes an ICE during the compilation of gcc.dg/asm-4.c. We should skip the test for the amdgcn-*-* target. Can I merge the patch below into trunk? Best regards, Frederik 2019-12-05 Frederik Harwath gcc/testsuite/ * gcc.dg/asm-4.c: Skip on target amdgcn-*-*. Index: gcc/testsuite/gcc.dg/asm-4.c =================================================================== --- gcc/testsuite/gcc.dg/asm-4.c (revision 278932) +++ gcc/testsuite/gcc.dg/asm-4.c (working copy) @@ -3,6 +3,7 @@ /* "p" modifier can't be used to generate a valid memory address with ILP32. */ /* { dg-skip-if "" { aarch64*-*-* && ilp32 } } */ +/* { dg-skip-if "'p' is not supported for GCN" { amdgcn-*-* } } */ int main() {