From patchwork Mon Sep 23 10:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 1165983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-509441-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="nOtdbB4z"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46cKzC6p7zz9sP3 for ; Mon, 23 Sep 2019 20:18:30 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=deH9w5bQt/R2cfb+BZScftNjAbgiiVRClnvuR9rqzpyF1WLPc+zt4 5PdzDVfRKZXBycu4Etit7BoA7qJofbkHsyANfywKEhwo4Ej7p3eNcUdFusA9ChyR jNsiNMrRQeaW4f/Y5BicXnU+sAeQwpF3y+27/+OH62csTrelA3UUEo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=HDNpMifcan/YLKpNP01EcJCdrV0=; b=nOtdbB4zmf741oBt0GQ+ 70tOGqgMzJvx3k1901Rx+wgoiRSmxX3Z/vpvRYp/Y+ze1xX8Xe5BkMraZfNMdvx6 BLWr/AoPS6z453kF+tlsMZnWtuRYBEXNAIl57GBcWq1t86Ks6WrcufJTvC4C1po3 zijyVn0BlmuR464MhA2Z8cI= Received: (qmail 63833 invoked by alias); 23 Sep 2019 10:18:22 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 63825 invoked by uid 89); 23 Sep 2019 10:18:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=ucnid-5-utf8.c, UCN, ucnid5utf8c, UD:ucnid-5-utf8.c X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Sep 2019 10:18:21 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 22FB71969 for ; Mon, 23 Sep 2019 12:18:18 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Cy6zLV5+452Y for ; Mon, 23 Sep 2019 12:18:15 +0200 (CEST) Received: from itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (itzacchiuatl.CeBiTec.Uni-Bielefeld.DE [129.70.161.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 797541967 for ; Mon, 23 Sep 2019 12:18:15 +0200 (CEST) Received: (from ro@localhost) by itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id x8NAIEmI025925; Mon, 23 Sep 2019 12:18:14 +0200 (CEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite] Skip gcc.dg/ucnid-5-utf8.c unless ucn is supported Date: Mon, 23 Sep 2019 12:18:14 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes The new gcc.dg/ucnid-5-utf8.c test FAILs on Solaris with the native assembler: +FAIL: gcc.dg/ucnid-5-utf8.c (test for excess errors) +UNRESOLVED: gcc.dg/ucnid-5-utf8.c compilation failed to produce executable Excess errors: /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 22: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 22: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 22: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 23: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 23: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 23: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 25: error: unknown opcode "a$b" /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 25: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 25: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 25: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 25: error: statement syntax /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 60: error: invalid character (0x9f) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 60: error: invalid character (0x98) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 60: error: invalid character (0x80) /usr/ccs/bin/as: "/var/tmp//cc8LEnCb.s", line 37: warning: size of "a$b" redefined The test uses a UCN identifier (as can only be seen with cat -v), but fails to declare that requirement. Fixed as follows as has been done in the other affected ucnid-*.c tests. Now the test is UNSUPPORTED on i386-pc-solaris2.11 with as and PASSes with gas. Installed on mainline. Rainer # HG changeset patch # Parent 071c1aca10b4c058ee33055f2346209812c9aa52 Skip gcc.dg/ucnid-5-utf8.c unless ucn is supported diff --git a/gcc/testsuite/gcc.dg/ucnid-5-utf8.c b/gcc/testsuite/gcc.dg/ucnid-5-utf8.c --- a/gcc/testsuite/gcc.dg/ucnid-5-utf8.c +++ b/gcc/testsuite/gcc.dg/ucnid-5-utf8.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-skip-if "No dollar in identfiers" { avr-*-* powerpc-ibm-aix* } } */ +/* { dg-skip-if "" { ! ucn } } */ /* { dg-options "-std=c99 -fdollars-in-identifiers -g" } */ void abort (void);