From patchwork Sun Dec 22 01:34:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 1214602 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-516451-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="h301zdU5"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hZq040/+"; 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 47gQ576Gyrz9sQp for ; Sun, 22 Dec 2019 12:34:33 +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 :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=p3HKM1d7Zs+J/rmKbwtlqYmafJBQVnlNLPXVTXL628bz2m x4V3Qe4uihxQYVPpNitC4kLgOq1wQb+T9dWKQqkVD5K3ivfKKuZF8P+PoLZVMXHI ciY2+4PdVBzAD9apmFvefrxugLA3xxLN7SkiwkTApErB09i8xtH8zUHLGBHwo= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=2viWgfrUtNeNhztT9y4spmYN3Mk=; b=h301zdU5KTbAwzpbQPhs aruCcGYe2grTDlqfg9RHw6sfY4eI8d9/tFcehg0HLoOwcesPbfua/zFwP6VR6Lxh kVNCJk0vVAtsHDxhGFYUTzN1apHGIdlE+lDvuL/pmKhRQx6dcAqvHn6e/+75csqB 8AxLphYnCY09u56j89KiNZg= Received: (qmail 17190 invoked by alias); 22 Dec 2019 01:34:25 -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 17177 invoked by uid 89); 22 Dec 2019 01:34:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:2095, dgskipif, dg-skip-if, Restrict X-HELO: mail-vk1-f179.google.com Received: from mail-vk1-f179.google.com (HELO mail-vk1-f179.google.com) (209.85.221.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 22 Dec 2019 01:34:23 +0000 Received: by mail-vk1-f179.google.com with SMTP id t129so3584642vkg.6 for ; Sat, 21 Dec 2019 17:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D4IuT8bCTDJfqgG4181q5RJexwsdVS3G3Ato1R+mXSk=; b=hZq040/+up3f+83s/m6xRcRlszU/GBH4r+apejiJASUaWHQJ4uzNeNtnUlAjNuTFy5 H+7dI9L2Dzbj26AABgcN0DPmU4zcRlqUzMNIMk2SwFUNqlB4qXLxVRaUMBI1JwdSGacW AC4V06WrxOm4wTWLa1B59Le5M0fLSOAxCC7NQLGsMI8/X43RJBIbKa+6nw3AU3inxuE3 +i3iN81SN8obak53sL5cE4RD+rSS/ib48IsBnDn+eYnJWIrlrPQ+P0mD5PkzHM1NwQfo AYjq6PB3Ia2TD7in78kNkdOAKStl6xgBMurmdjK53asKtPWvPiRFlTTRZytV835fVf7I PSbQ== MIME-Version: 1.0 From: Andrew Pinski Date: Sat, 21 Dec 2019 17:34:09 -0800 Message-ID: Subject: [Committed] Fix testsuite/92998: dupq_1.c and simd-abi-8.c fail on big-endian To: GCC Patches X-IsSubscribed: yes Hi, These two testcases fail on big-endian aarch64 Linux targets as they include arm_neon.h or arm_sve.h which in turns includes stdint.h; this fails as stdint.h includes stubs.h but the stubs for little-endian does not exist for big-endian. This fixes the problem by restricting these tests to little-endian only. Committed as obvious after a test on aarch64_be-linux-gnu. Thanks, Andrew Pinski testsuite/ChangeLog: PR testsuite/92998 * gcc.target/aarch64/sve/acle/general/dupq_1.c: Restrict to aarch64_little_endian only. * gcc.target/aarch64/torture/simd-abi-8.c: Likewise. Index: ChangeLog =================================================================== --- ChangeLog (revision 279708) +++ ChangeLog (working copy) @@ -1,3 +1,11 @@ +2019-12-21 Andrew Pinski + + PR testsuite/92998 + * gcc.target/aarch64/sve/acle/general/dupq_1.c: + Restrict to aarch64_little_endian only. + * gcc.target/aarch64/torture/simd-abi-8.c: + Likewise. + 2019-12-22 Maciej W. Rozycki * lib/gcc-defs.exp (gcc-set-multilib-library-path): Use Index: gcc.target/aarch64/sve/acle/general/dupq_1.c =================================================================== --- gcc.target/aarch64/sve/acle/general/dupq_1.c (revision 279708) +++ gcc.target/aarch64/sve/acle/general/dupq_1.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mlittle-endian" } */ +/* { dg-options "-O2" } */ +/* { dg-require-effective-target aarch64_little_endian } */ #include Index: gcc.target/aarch64/torture/simd-abi-8.c =================================================================== --- gcc.target/aarch64/torture/simd-abi-8.c (revision 279708) +++ gcc.target/aarch64/torture/simd-abi-8.c (working copy) @@ -1,6 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-std=gnu99 -mlittle-endian" } */ +/* { dg-options "-std=gnu99" } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-require-effective-target aarch64_little_endian } */ #include