From patchwork Thu Feb 1 22:17:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 195490 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp59532dyc; Thu, 1 Feb 2024 14:19:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFO8Z0Orc2pOfvgZ1DlAiX6VFngxr0UEQ7OPKPyucXOEcztv72sZVqJICXlralb5Pzzpq86 X-Received: by 2002:a67:eb12:0:b0:46b:41fa:bce2 with SMTP id a18-20020a67eb12000000b0046b41fabce2mr327116vso.30.1706825942538; Thu, 01 Feb 2024 14:19:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706825942; cv=pass; d=google.com; s=arc-20160816; b=xDfO2xrN+1O/Pi93t+WJZ9F6o5lz9U9xEVG/+0xX0f1H70CIjBsCvgB22GitNrsi6H 9sU+fKsU+jkASLoe7rkZtlTi7whNOBo4nfrBSPwhBflNruKPHkx2ENRNvoOULPnh0epo ILUfndzVLSUsUOegA3MZkN8CKvPpgVOTEPidalstUN5O5NyCTViC+6Ab3uqIh/t9Jk2E QovO0oxjnDxltjXUbhpAXVfAwGd9YUTLBn5sQtz7Z8gUm/pF0O7qQPpt4XArssq+tpV4 I4vJfWU0hqN7yxAKJN68SKLNmgXT+zsOLYW3wmBT8Vab7uPpifs86MBVO8UsJxPh1oeK /r5Q== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=dvCLm4YzlFAlodZFqo1DzQ9eAEAPPRX7U94MBL8ThGI=; fh=4adq9YLlVwOZbScPEbfE5LsRXvbYDU22ADJ8huC1Fbg=; b=mVWc8Z1CZ81uFSiv76lOIZVaqO+bl/Guhb4lKBQDJxCTqLLDsi4iO7jaXNIRzy6YBu OoDflyJX/GZTptt1t7jbk5F6+Uf3+e5YuWNL6PHj/7oHbYL0QedfkVpF1AEd3nfLME0G xPi2trYFjq+wvJgmQV9bhM57YqsHTRXWlHBOvjR26+ZRqkoGmLW8Cz5lvM1e7eDtKi02 SFbY+bZRXJDfo9/PyXi8vzsG+5bs7tciUBzuBHqR6Cu5Etkh1KG64BXmEeIFiGVb4lok qovKyAVuyrNv1J/rYBbhTdCWUkJDetijrI3Gg6rSdU7+vrZ5HCUvppeZ3+202oVN6EwN bo6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QpPUHo2J; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCUywFNuBZREI+D9s7ZF4eNIzkg+rtCYW0VUJO9QSWcPWlJqY6bZ54NLq3FFxJ9rZmlN/kGEzP/+HgkGDZjYrDfYf1TMPA== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l11-20020ad4408b000000b0068c5d1a852bsi515112qvp.600.2024.02.01.14.19.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 14:19:02 -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=@redhat.com header.s=mimecast20190719 header.b=QpPUHo2J; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 422463858021 for ; Thu, 1 Feb 2024 22:19:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id C166C3858C5F for ; Thu, 1 Feb 2024 22:18:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C166C3858C5F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C166C3858C5F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706825899; cv=none; b=tdISSEAyUFmgH6WVvG/qJtRmrTy4+DM91DCdtCKUBMc6XjLYZCxT0bkuf1T4uq3flNY3vL9yy0tGPPBpsHzKWpxboQ2/+DxSIRNrzVoz7SojcnALseC+3cifOfTm0qRSGOJqrfwsth4IDgCJZxRgjyVFEmBUGOBqo3nhT28Ns5o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706825899; c=relaxed/simple; bh=7I5q3vR3ZwkKuwaLaVLQkR3Ir9C26gBQd/oMos29RNk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=WA0ollgaCwjP7G9FiqKq6JwvGDCimVyM7MdLLDl5+a0mcnG6sf2CPnRf/5I6LUnq2TMSICHadr37r5705t3H0sP6dInRq9Fa9M5XSy4AZC8IKZoNojyMMeaZtOVte36ROO9WZ6SqLYpoK2iHAVnKeo7M0QJlt8NzrluLW8B7V1U= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706825897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dvCLm4YzlFAlodZFqo1DzQ9eAEAPPRX7U94MBL8ThGI=; b=QpPUHo2JdfGQMbUGyUgDi6PgDsuKGdqp3HKA234lwdeWWdjjmEMGDW8Jm20yJpYGZk9OtX lg75uq5iRNFK64RJSCgzbKBDSWrrMSyvKnwnmCmMGfStaz4ALAHYDQFiqdp68+ZPKgOLZW 48Xe4JZWQuSBMCWanXZKAL+vKoltmDM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-581-2wMtLeKDMjiyEY_J1kTHqw-1; Thu, 01 Feb 2024 17:18:15 -0500 X-MC-Unique: 2wMtLeKDMjiyEY_J1kTHqw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9203E85A589 for ; Thu, 1 Feb 2024 22:18:15 +0000 (UTC) Received: from localhost (unknown [10.42.28.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6032AC0FDF0 for ; Thu, 1 Feb 2024 22:18:15 +0000 (UTC) From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Subject: [PATCH] doc: Fix typo in description of hardbool attribute Date: Thu, 1 Feb 2024 22:17:57 +0000 Message-ID: <20240201221810.2181399-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: 1789736719238401607 X-GMAIL-MSGID: 1789736719238401607 I'm going to push this as obvious. -- >8 -- gcc/ChangeLog: * doc/extend.texi (Common Type Attributes): Fix typo in description of hardbool. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 142e41ab8fb..2b8ba1949bf 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -8960,7 +8960,7 @@ This attribute may only be applied to integral types in C, to introduce hardened boolean types. It turns the integral type into a boolean-like type with the same size and precision, that uses the specified values as representations for @code{false} and @code{true}. Underneath, it is -actually an enumerate type, but its observable behavior is like that of +actually an enumerated type, but its observable behavior is like that of @code{_Bool}, except for the strict internal representations, verified by runtime checks.