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: 194729 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1855680dyb; Wed, 31 Jan 2024 04:35:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqqgqjE3dkxFImFG4FYEL/VZ7VFZlBbkFF4UC2Hn/ol76Vhn3KTGw7GS0mVBcqhPvzZW9a X-Received: by 2002:a05:622a:1703:b0:42a:7093:3f25 with SMTP id h3-20020a05622a170300b0042a70933f25mr1525265qtk.64.1706704558832; Wed, 31 Jan 2024 04:35:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706704558; cv=pass; d=google.com; s=arc-20160816; b=0kbpPqxyJSDFfOTFaNsm1EJSu1OX9vl9St99lyvbkuh67eNWt1J6G1nd8Gn054ll2I 8PAyChyS25PNG5kOnMMVt0JvdzFCq8cBgBaOONHeKS7kIcUi0haZUN9xwvXRULhBqw/B fU8fkBOCgQybYOvMruFwX10r1jlemrWScpV8Yia4tjdG7p47YhRY7ojs3m6kDikSOsOE nUbYTTCDCXM8rZXPBgEJlKx8vE3C+Kq4dTEG0BV3ICB9P0r9MSQFRuwlPMni2a4gWbaX Ie3sxYzaZE91M00OAdO8zg3c/ZHiXl0cHHiNa5fIYLmPg42xguPYIbc9XQgZgnrnV3g8 36ig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=Fu24hfth4923/CH23DvsvFJ0fiY3rsJd4G++cBaeVxQ=; fh=Gzn9Itwd4MG1cR0wK1/y0g+XcvGZYTegiJmlJOKnmhI=; b=z1Uag7lsYb2jR7CT8bDVrzW6WD6OZFq3NLKXTqHpilBphGdIzv9pqay+NK//vimzEt higQscPknbX7+1vm3fO8uQlyvbTQ6fFXSlp//xB8AI6/CJVpQCPzptN2tgS88p5uUrS6 8r7InnFYoenaorNhnjCeuDyznjLzfJzZo/+k/C6SRRncTTlIhKfjm8YRWKo8sBgEaHtp XUue2C/y8mVioTILhchCGG6mUMQxd4FKfH6OdCbCs7ih4hoPOl9KPLiaYoVB9ZVrWTGR D7tGIboo6Gj5Cy7zJWlCyi/1+AOQmOJ3aAPSPnJi/X3sXX06EJ94U36MzFyfbKgxCF+D juIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=gjf0mRWX; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" X-Forwarded-Encrypted: i=1; AJvYcCXz7OFmBrvRoenum7kBO2e7gM5+eocjXwf2LDnxZmQku/ZMQCAVKfYQfot0KhD/gZlJ7DBBxB7e4c03HFe0CDAbxQySDw== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y9-20020ac85f49000000b0042ab336f81asi4074309qta.172.2024.01.31.04.35.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 04:35:58 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=gjf0mRWX; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 D91383858401 for ; Wed, 31 Jan 2024 12:35:57 +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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789609439510396780 X-GMAIL-MSGID: 1789609439510396780 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;