From patchwork Wed Dec 18 19:08:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 103376 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9CD7C3858D37 for ; Wed, 18 Dec 2024 19:09:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CD7C3858D37 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=VlLIFBVq X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by sourceware.org (Postfix) with ESMTPS id BE0313858C51 for ; Wed, 18 Dec 2024 19:08:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE0313858C51 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BE0313858C51 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d2b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734548889; cv=none; b=b/OUIMqvmg3R6qKENlBDAeFo1noFBzYJL2TueTQkkAebOi0+zr9bPKy6pbxq6LbWnfXH9BZzLafoTtWIimDoQVvWwnYKBeMLiujwHlT8mOo/ZRrgOfTBmNNs+PtZB0Xd0gjhsqKHV+O5O257g5eH4f0/uT57VVnhPT3+BTutCc8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734548889; c=relaxed/simple; bh=HqdjIWOKz+14M6jlBfqFiEXzN1WNNvVkydieWjoJJzg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wViFU+qXeiTDJA6hngtGB75PSdI9hcP+mhOi74zpcGlvZn53pHv4hCEX6GT+YQYzJIdd/bh/is23R+s5dcU8HJJAkhUsfbE6jW/wW0eIyrGXvC1124b37MnbNkXIT7cwt7i6ii9LiQngoOJVJDyqehiBc/PpP5vtaPIgYNHl8UM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE0313858C51 Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-844df397754so229065139f.2 for ; Wed, 18 Dec 2024 11:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734548889; x=1735153689; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DGol/oNm3tyot4fs10jkUldIin0aRvWWrViLaXFlisg=; b=VlLIFBVqQ/xMOISm1bf8bhv567EcyzUy7FhD3XoXdIbc/VXiFBDPLoRvzqGFK86tNw xloFX+Cj90wMtNVmwSVoHMxpOCGF6MzeGWSpf/FWjhZXOXCT41FrONv6SxXHj2BuOzB0 JQrnIFVFocUjFSS8Mom2PvbtWXjnSbVrflxZwOdGLqyZAvqh7bCrHF9HeevWt42qcxvE zOvv/g120iq2k+Ofl1leWMvodUIyGwuSMhB+lzOagNtLLTk5DhBggMW4nk8aRfr0k3M6 SK53pgN0wGwnjpWIkZoW4i+47RVMdsk2nRJMWiejYz1MG8iI3T6NOrWJEbG+hFrkR7m5 OoSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734548889; x=1735153689; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DGol/oNm3tyot4fs10jkUldIin0aRvWWrViLaXFlisg=; b=TjqHUHED51ybH/SirawYN18tKm6xg0u5zdrmfcNA7IahfT9XkDaN0SIzRoh5Ob2L2h K9NV+Z7IACSkqCr7lx4JIvAmHBpGups5a6nN3l49RaVozdt+6HoXoD9dcLvlWH3M92qF 2pU6/fX75+JEs8i4XMUEoqrh/Wy6JEkllzT3bknHz76OaBg7FO5POc3eKDppmjrpOPPI 699rASHryzHbLsu6QGdCEAafm98WKmOmiwneNV2siuDRWSnqCOsZfir/xVf0ukxO4aeT clM1l9bXh+oim+D6w9bpRZhu1fZhCgs+2SNXDsjKpSFcwZF2vc9hSFSM/NEY1BHBP6oU 6Xpw== X-Gm-Message-State: AOJu0YxldXvWrkDpyWlmxcOKqvI0oCcAjbPdCcPTTKApjyZ5eum29e8i bSix1iSoqK/RCu71c7CfaijmrP7beSaiSk/JIR3KBaM5LZ0uktRu X-Gm-Gg: ASbGncsepW2Z2xLz8+5rHbciL/1tFpVF6s1X0OKmwvZiZMOHRRoRbn4+grNrJjkRSYM cTzXAUiNc2qGo3rmLaq9Qvqag+hYi5gCN6wY0+SyR+faSIjXyVwsv+IZpvGQJxulrmqzSPvO/Ls t04DAT1S4tVgHOabXPUrV+hwUS5rCfCGgA1x6Lj2yYIj3zsh5EwUNOH1wix0y9sH0xjGHTuxSco ndhNlbblmpo6WYq6y9/6x2UkUQqj+wFzAoZkjIqE3w4rEnpqrpx4owGwCJaM3eh4KsLWKQT8uyd tbAK48sFQLV5xyGZkNCgarY8WciiOJdzRWvl9gy++104 X-Google-Smtp-Source: AGHT+IFisYNHHz3e2arIh8KQSzAuTdl+WLHGDb8//JO26CS0YJYjvlnkr85LAjhROOrUtB4FdtE/og== X-Received: by 2002:a05:6602:2c88:b0:803:5e55:ecb2 with SMTP id ca18e2360f4ac-8475831e21emr428606439f.0.1734548888987; Wed, 18 Dec 2024 11:08:08 -0800 (PST) Received: from gnu-tgl-3.localdomain ([172.58.139.71]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-844f6292422sm240149139f.27.2024.12.18.11.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 11:08:08 -0800 (PST) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id AD066C020E; Thu, 19 Dec 2024 03:08:04 +0800 (CST) From: "H.J. Lu" To: libc-alpha@sourceware.org Cc: sam@gentoo.org, josmyers@redhat.com Subject: [PATCH v2] math: Exclude tgmath3-macro-tests for Clang Date: Thu, 19 Dec 2024 03:08:04 +0800 Message-ID: <20241218190804.3331808-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3017.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org Since Clang doesn't support _Complex __int128: .../test-tgmath3-exp.c:152:1: error: '_Complex __int128' is invalid 152 | _Complex __int128 var__Complex___int128 __attribute__ ((unused)); | ^ exclude tgmath3-macro-tests for Clang. --- math/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/math/Makefile b/math/Makefile index 93fa147033..798d71dc47 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1038,7 +1038,10 @@ tgmath3-macros = \ ufromfpx \ # tgmath3-macros tgmath3-macro-tests = $(addprefix test-tgmath3-,$(tgmath3-macros)) +ifneq ($(have-test-clang),yes) +# NB: Clang doesn't support _Complex __int128. tests-tgmath += $(tgmath3-macro-tests) +endif tests += $(tests-tgmath) generated += $(addsuffix .c,$(tgmath3-macro-tests))