From patchwork Tue Apr 16 03:30:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1923960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=gEidtGfx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VJV1Q6gc4z1yZC for ; Tue, 16 Apr 2024 13:30:50 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 35F1A3858C62 for ; Tue, 16 Apr 2024 03:30:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 868373858D32 for ; Tue, 16 Apr 2024 03:30:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 868373858D32 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 868373858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::435 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713238231; cv=none; b=eZcryAD31BezoRBh2k2D9qahN39+nVY/LUvmUSzWO5gdZKPlu11bKbRaePrXOWqFS6XvT9TD7giikPw0TL9S/xioe84GHxDOJjlWP3ComO0kYd02dVwxqhydEolEJ0EwCdxzCcIkZQ0hZ74Vv4bY5AiLRrpBkDbmpYhgbNiGFmg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713238231; c=relaxed/simple; bh=BTNomeBxRT7b9IxqUkVE/96TKlNQWCeX4YIEOJmG5Uw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wWLdS0U880ZY6np7fDhjpluukx8ZacxR2MZ313Dk9Ov5kW8TQYotRTNOQAdPmF7UwffiLC6S5s0B2kB8zE89xqEYGxsfl+AfDXMKifO5IBTiKwbqwngZm5IztSZHRSSdH78W9m+zJT7PtQovLDW2GmJrvjmScyNLRXCZFxVax4I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6ed3cafd766so3117943b3a.0 for ; Mon, 15 Apr 2024 20:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713238228; x=1713843028; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=YrJB+KIYJVdOpmgHc9bYoU4BVqtgNWna3z8dQVTxNfs=; b=gEidtGfx+ZBdLac8oUO5e9FxQt+huTR8fJz95anblO6lvlCnSl7qW6wQoGAt7Subt0 W3PhU4wVDi0lfDfFv51ONITOEwKQJXoLBlAX62zm03VdW3VX5CV5UNaJRv0PSk9CllIe zOZOqKBoMkZs70gcfH72KwLk2RosLMZMspaS3xF5dSc4iPCGLGL6Do2OOkVNSXHbsKI9 JyU5bYSQE4QmKvOVYGaYDp635yA7uFr/JYxHMjIvpgw/BT/pQkkflAxe9L0uzrifUhSa fKQQzSt9uZAIMz3gbMh8632YsuilP5AOzeUmwdSWoyuf8OpWGB/0/hS8fW3GpmlS3v/X usCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713238228; x=1713843028; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YrJB+KIYJVdOpmgHc9bYoU4BVqtgNWna3z8dQVTxNfs=; b=d/tovSbMcImfGnyUTJxgC/x7uB2anGHlA25waG2yx1D2FL+3BQw6QSHaBnzg2coDBx KPFIyPtdxIwn7QtpZCqIYO16nOViV5G/hIbfm7hVEieBCxOucLJ8xr19mM8GnDA9TYxE HypCDM7A4bX3StYZdmYI6kqg5bRXVo06cNwPABwjGKtRld32tpZN59BzRIVREzvQlJnE Ob5dfroLSRuPkTeUOQ0e7Vo2/Zyluv+YuejH1OurdviIpDwuMGeoWgpYDhjg4mhcLPzT APwAMJo4ovZnAIMEUI8iy+CfCCLHBWH+hytNGcBgCUVv4esfhLvDv1V7PzetjmtnsyBs TFlg== X-Gm-Message-State: AOJu0Ywk1wrDBDP629JyUhsE1AjEzPRsMYPMexGZEkm1gWTeIh0g43Cd beoh3eD6JsZqyWnFlj5i6PFSzNE48VBsZ0IM0OE6atiTnwzQLiQnVC2zqxm5f7wL0ZHazc+RfXV +kQ== X-Google-Smtp-Source: AGHT+IFRzLgxJfHWg8Nk2EUpEErfhS4G5dyN8hgV8P4GjyxaiSYyogkRxPsZYVFi028+heeMG2aH1Q== X-Received: by 2002:a05:6a00:2d17:b0:6ec:db05:36c3 with SMTP id fa23-20020a056a002d1700b006ecdb0536c3mr12312858pfb.4.1713238228348; Mon, 15 Apr 2024 20:30:28 -0700 (PDT) Received: from free.home ([2804:7f1:218b:5e2:c43b:e0c4:71a:241b]) by smtp.gmail.com with ESMTPSA id fq12-20020a056a0060cc00b006eacefd8fabsm7945547pfb.64.2024.04.15.20.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 20:30:28 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 43G3UIs12387610 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 00:30:18 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , Jason Merrill , Nathan Sidwell Subject: [PATCH] [testsuite] xfail pr103798-2 in C++ on vxworks too [PR113706] Organization: Free thinker, does not speak for AdaCore Date: Tue, 16 Apr 2024 00:30:18 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, WEIRD_QUOTING 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org pr103798-2.c fails in C++ on targets that provide a ISO C++-compliant declaration of memchr, because it mismatches the C-compatible builtin, as per PR113706. Expect the C++ test to fail on vxworks as well. Regstrapped on x86_64-linux-gnu. Also tested with gcc-13 on arm-, aarch64-, x86- and x86_64-vxworks7r2. Ok to install? for gcc/testsuite/ChangeLog PR testsuite/113706 * c-c++-common/pr103798-2.c: XFAIL in C++ on vxworks too. --- gcc/testsuite/c-c++-common/pr103798-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/c-c++-common/pr103798-2.c b/gcc/testsuite/c-c++-common/pr103798-2.c index bc126c205e1e3..83cdfaa1660bb 100644 --- a/gcc/testsuite/c-c++-common/pr103798-2.c +++ b/gcc/testsuite/c-c++-common/pr103798-2.c @@ -28,4 +28,4 @@ main () } /* See PR c++/113706 for the xfail. */ -/* { dg-final { scan-assembler-not "memchr" { xfail { c++ && *-*-solaris2* } } } } */ +/* { dg-final { scan-assembler-not "memchr" { xfail { c++ && { *-*-solaris2* *-*-vxworks* } } } } } */