From patchwork Wed Feb 12 08:14:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 1236681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109545-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=Ch5JQWoX; 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 48HXVz00BWz9sRh for ; Wed, 12 Feb 2020 19:14:50 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:mime-version :content-type:content-transfer-encoding:message-id; q=dns; s= default; b=hT9uHyIB7eQA9V8zj82qSgs2+BGBwyLr7oQQmLEcuYIa9jfbEjOkw jyl/ijcuH+9RT3gF2NsieNWVLlpIXM+I8s/jqnsizomlR1KN3SG26H8HJXesQQgo RMv4ekwjGwERFn2seMPM2omF9OqpRzkRJaECGGWVqv1PGGCHBQaRFg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:mime-version :content-type:content-transfer-encoding:message-id; s=default; bh=gOCMfVYxuKStKqzqS+g1FS5TTJE=; b=Ch5JQWoXzcKwsZm2ul5csPQS/3/M a6YIUg+hhesEevSlceK9IP7QG4MzWxd3SoadpzYxSDzdBLJjzgijZ4K4/8HMHa6q wnA2cVrAHfZil/1fFP6rlinPXkETO74CTXR+te3QWc3UFTkJrxNKyByMdPBM6spD gHRBWbkOGrRYsTI= Received: (qmail 3854 invoked by alias); 12 Feb 2020 08:14:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 3824 invoked by uid 89); 12 Feb 2020 08:14:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:1581495249, H*m:1581495249 X-HELO: mx0a-001b2d01.pphosted.com From: Stefan Liebler To: libc-alpha@sourceware.org Cc: Stefan Liebler Subject: [COMMITTED] S390: Fix non-ascii character in fenv.h. Date: Wed, 12 Feb 2020 09:14:09 +0100 MIME-Version: 1.0 x-cbid: 20021208-0028-0000-0000-000003D9CA29 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20021208-0029-0000-0000-0000249E3BB7 Message-Id: <1581495249-12990-1-git-send-email-stli@linux.ibm.com> The comment "isn't" contained a non-ascii character which leads to an error if compiled with -finput-charset=ascii: error: failure to convert ascii to UTF-8 This is observable in GCC testsuite: FAIL: 17_intro/headers/c++1998/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2011/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2014/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2017/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2020/charset.cc (test for excess errors) Also rewrite the comment above. Reported-by: Ulrich Weigand --- sysdeps/s390/fpu/bits/fenv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/s390/fpu/bits/fenv.h b/sysdeps/s390/fpu/bits/fenv.h index 4038f96..e10d025 100644 --- a/sysdeps/s390/fpu/bits/fenv.h +++ b/sysdeps/s390/fpu/bits/fenv.h @@ -73,14 +73,14 @@ typedef unsigned int fexcept_t; /* size of fpc */ /* Type representing floating-point environment. This function corresponds - to the layout of the block written by the `fstenv'. */ + to the layout of the block used by fegetenv and fesetenv. */ typedef struct { fexcept_t __fpc; void *__unused; /* The field __unused (formerly __ieee_instruction_pointer) is a relict from commit "Remove PTRACE_PEEKUSER" (87b9b50f0d4b92248905e95a06a13c513dc45e59) - and isnĀ“t used anymore. */ + and isn't used anymore. */ } fenv_t; /* If the default argument is used we use this value. */