From patchwork Thu Jul 6 21:36:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 116851 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2848698vqx; Thu, 6 Jul 2023 14:37:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlG/9H2dFTAepp++YizrVOL26AO/ADLF/xATToxyOi0Z2G6JvWxeBfjPxFBo0DtrqFOGbsrM X-Received: by 2002:a17:906:5b:b0:974:56aa:6dce with SMTP id 27-20020a170906005b00b0097456aa6dcemr2428074ejg.46.1688679467451; Thu, 06 Jul 2023 14:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688679467; cv=none; d=google.com; s=arc-20160816; b=rjkGqozTuqE22B3vUmgesfIZpjILPyvFGbeQ/r/Ue/Ba0zPvWFcqtQgiHUKhX/ZRQf Yhl0GSKk27eFzHSt0YGAOM3suOIVCFZJEz0Fg4C3FEJnotbETHMdYpu/aSxOsSAEB00M rvEuhk5lNhRw2YLIWqay0OLXiDfUlcIR6MdHJi+rIHAnejy/QXz9RSrnZc6DNK98P/0x wXnGuE37+p3b7RglDOsVyeOeq15w79E3CGH4o9n+fg+98s0kXmjviXlwgJ66QKnMZXZ7 YWItLjFu/Gyrs+oKidi/HV8Tb0oXAUn7aGBtW5B1qXv1kP7Qd/4gl4SyGyWrCfR0y5Cs 9hPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature:dmarc-filter:delivered-to; bh=FiqhV0JEggauN+ONd/W27P4WCmG/LgThYnDDc4n1TLg=; fh=t3lE6tP4OFFScdyp9Q21zIlkKocPOm4DCGwxv6w9iRc=; b=NAN3M0TP4XVbVvaS8akLi594Xq3GG0Np06oj1OsBZDNd/jzPBs8g+sqb8KQNzq0rVy pUu0Umj2cecL5VfF/LUNc0ZQsXqP+P5GR13lyb8H2zdY+++dqaQ4WtNHMRg+t0dDkVPe 8MLfk2cxtRKYxXWixXSILGSrOHkeHxe6i8tko371UqWKP1ianmMqWpa3XNC4rU9qpHPH Lnq/xjbadexzNhYsGB3ncfbZ+WIAIht+XbgHghzukZvUyoCM30yV9mf7Jrx/8opQr4oo od9V2fyYhHwucZADTyGk/oYYZO4fJuXaw47nGxjB60dPTJXXgqBs8uapB29ld+u361bM KElQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=VP1ImDSf; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id e25-20020a170906c01900b0098e3698905fsi1414331ejz.625.2023.07.06.14.37.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 14:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=VP1ImDSf; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9A348385B53C for ; Thu, 6 Jul 2023 21:37:03 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 91540385DC00 for ; Thu, 6 Jul 2023 21:36:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 91540385DC00 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3143b88faebso1248341f8f.3 for ; Thu, 06 Jul 2023 14:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1688679398; x=1691271398; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FiqhV0JEggauN+ONd/W27P4WCmG/LgThYnDDc4n1TLg=; b=VP1ImDSfkprEmX/BhyKX8qVSPU6dmQZhCzKmbFUZJ+uqc1zp9MojXVwcjiskKlDwa5 dtaBCxzbDW1C/JGyAVDg+FiTJ5nTCmhUfrY94fPT7gvfvOFEZzFnzRhOmfHOeXmfO+Fv HZsrx9YSUTcL5j0369eOibaSNXhvtjnh040olbzrvP7IV3itp31v0id57LWnlHBvrJUZ 5r4VpwPrMLCu9A+Ddocc/kwSynsLfDMLyKCS+Uk7KLD/kl6pDt9HO2aymwj6a+vTuiOW Cvr3D/wAdolsIaCK0JrNKV0BAs0s3VW7GdpweEUziUUZAUq6qUDyE0tgGCMoWeqh7ThK GGQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688679398; x=1691271398; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FiqhV0JEggauN+ONd/W27P4WCmG/LgThYnDDc4n1TLg=; b=a8faPph2nhwj2PpLkU2scWVNnSKGcwv6h4V4aM8dS8ancK+fVBq+IRJR0Ijabk5/PK oRtFMH+B3sSw+37NoNQdlv4X0sn5h5+X1w8gQCPuyrkv63K6Ux8lzEXqwXb4CliCneq/ erD86uSgO/Tuf2vqXN5fAzpYr5yu0+BfwXcevni0lk4K8LEJK7nUkXCb4YcTMs+lM/jx NRNzHCTD+KU11f1wcecKFljmiJYH+GVqrVPrWWaaxZeYFViR6+bmUahnjXBRlPYSHIEE 2iYSa7iL85xxZDJuF3bo5/SOAvmv5qx3b3YxQv+yrv1ny+f782IIQtob3FFuxkJMVDdF DTUg== X-Gm-Message-State: ABy/qLbS+6fYc+NZWgM05gH+QkAprwvqL4R01axZRFAa+WnRdZcXBj9u oEr3FORr/pxxgaTDq5a382wH0w== X-Received: by 2002:a5d:4d0b:0:b0:313:e20c:b8e0 with SMTP id z11-20020a5d4d0b000000b00313e20cb8e0mr2564104wrt.23.1688679398208; Thu, 06 Jul 2023 14:36:38 -0700 (PDT) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id o5-20020a056000010500b0030c4d8930b1sm2774430wrx.91.2023.07.06.14.36.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2023 14:36:37 -0700 (PDT) Date: Thu, 6 Jul 2023 22:36:32 +0100 (BST) From: "Maciej W. Rozycki" To: Rainer Orth , Mike Stump cc: gcc-patches@gcc.gnu.org Subject: [PATCH 3/3] testsuite: Require vectors of doubles for pr97428.c In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770708760917095588?= X-GMAIL-MSGID: =?utf-8?q?1770708760917095588?= The pr97428.c test assumes support for vectors of doubles, but some targets only support vectors of floats, causing this test to fail with such targets. Limit this test to targets that support vectors of doubles then. gcc/testsuite/ * gcc.dg/vect/pr97428.c: Limit to `vect_double' targets. --- gcc/testsuite/gcc.dg/vect/pr97428.c | 1 + 1 file changed, 1 insertion(+) gcc-test-pr97428-vect-double.diff Index: gcc/gcc/testsuite/gcc.dg/vect/pr97428.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.dg/vect/pr97428.c +++ gcc/gcc/testsuite/gcc.dg/vect/pr97428.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_double } */ typedef struct { double re, im; } dcmlx_t; typedef struct { double re[4], im[4]; } dcmlx4_t;