From patchwork Wed Jan 31 12:35:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 1893472 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; unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=gjf0mRWX; 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 4TQ1j219Qfz23g7 for ; Wed, 31 Jan 2024 23:35:34 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 27F49385800B for ; Wed, 31 Jan 2024 12:35:32 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 6E12E3858428 for ; Wed, 31 Jan 2024 12:35:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E12E3858428 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6E12E3858428 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706704506; cv=none; b=Zak7zjVPU2QXwrNaj06Is8u3Zet1RmgWpIBSZGkK+3IYZhMWj+L26CFDSfdda/zerRAT/TwPpDm+aqkr46N+8b7rC1teMxDgHu5oUcka224qxOf4PQG6SXO1RNjlndFB82CFJB5pEIL+E7jIJdgo0nQAAWPyb5bEq69AqVB+gT8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706704506; c=relaxed/simple; bh=NKMJVn3x1Di3HRlkHJlKdeL9YZo7wPuiuzDfap3Rnzc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=fU2csgV3ftkSZohqvdjlJckgtQM8RbChrdtS8wGt6iUCGKWlurKn6zz07HJBMH0j85dVCk3auryp46rYWVaCI+sH/HvHUPtyIxhf71Jl7TXwL08PSVzBwSLxqQ7Td3wwekdTnNz1A0N4GTc+v9OeCwbv8d8Qr6PvbGazzuhuMSk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 5CE1B60BB1 for ; Wed, 31 Jan 2024 13:35:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1706704503; bh=NKMJV n3x1Di3HRlkHJlKdeL9YZo7wPuiuzDfap3Rnzc=; b=gjf0mRWXwHPdcxaJxz8ew JBkKEWr+KqQPjjvgN3JLQl1P9lnlg+MXXgGtErHLrsGY76xfgWkPuJWlzNsbSlnv OEqb5hoB/3pbK93Ym4HoiN0piL+mb/5BeVXVukBluXMYmJsbxDN10C8EJuFMDmqS CafJj099Mex3O0QXRQ3mJe/qv3JwpIeYh7rMXRLkouwOPd0vF3GuHb0BQdqT+mgQ jxOky/VS98bMnxyt76BkWwEWxy9JYqlR9BVfNN92Fhr0sHg9QOFXifFyFF9SKf9d +fZXoWLlAi0DSV5/NoL7wnALSldIOPYbBjNTsdsyj2DJK1h22Jfyni7k5wcNkh8+ A== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6v-1Kkd_yVSQ for ; Wed, 31 Jan 2024 13:35:03 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085539e.dip0.t-ipconnect.de [80.133.83.158]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id EE1BF60ECA for ; Wed, 31 Jan 2024 13:35:02 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] testsuite: Require ucn in g++.dg/cpp0x/udlit-extended-id-1.C Date: Wed, 31 Jan 2024 13:35:02 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3791.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, 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.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 g++.dg/cpp0x/udlit-extended-id-1.C FAILs on Solaris/SPARC and x86 with the native assembler: UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=c++14 compilation failed to produce executable FAIL: g++.dg/cpp0x/udlit-extended-id-1.C -std=c++17 (test for excess errors) UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=c++17 compilation failed to produce executable FAIL: g++.dg/cpp0x/udlit-extended-id-1.C -std=c++20 (test for excess errors) UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=c++20 compilation failed to produce executable /bin/as doesn't support UCN identifiers: /usr/ccs/bin/as: "/var/tmp//ccCl_9fa.s", line 4: error: invalid character (0xcf) /usr/ccs/bin/as: "/var/tmp//ccCl_9fa.s", line 4: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//ccCl_9fa.s", line 4: error: statement syntax /usr/ccs/bin/as: "/var/tmp//ccCl_9fa.s", line 4: error: statement syntax [...] To avoid this, this patch requires ucn support. Tested on i386-pc-solaris2.11 (as and gas), sparc-sun-solaris2.11 (as and gas), and i686-pc-linux-gnu. Committed to trunk. Rainer # HG changeset patch # Parent b19044614bf18d15d2ccd8b2b26450678f93acaf testsuite: Require ucn in g++.dg/cpp0x/udlit-extended-id-1.C diff --git a/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id-1.C b/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id-1.C --- a/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id-1.C +++ b/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id-1.C @@ -1,5 +1,6 @@ // { dg-do run { target c++11 } } // { dg-additional-options "-Wno-error=normalized" } +// { dg-require-effective-target ucn } #include #include using namespace std;