From patchwork Tue Feb 1 12:55:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 50620 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 13AED385B804 for ; Tue, 1 Feb 2022 12:56:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13AED385B804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1643720176; bh=2pHh/oihVh2kSw/zlcK3Z5aogOu3k6fraNrw7oLg2i0=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=CKUJSyDcnoIWHumnCGz9N2LmTINNlBTAdWpCyAt8ULStVN2dqO2IT5eb1u8njJHrb 80JkHpioQXV71P0gPM1DP+CBStyg4KUKVy1g07p5bS3LHl6KCHtDI0hitM9UmrjsOU WoonNEjCm7ZjM23W2vgDYDBUz91fLsmEM/94QuOo= 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 2395B385AC30 for ; Tue, 1 Feb 2022 12:55:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2395B385AC30 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-567-9hDhR-GQMW-wWYpbASgTOg-1; Tue, 01 Feb 2022 07:55:06 -0500 X-MC-Unique: 9hDhR-GQMW-wWYpbASgTOg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4FED51124C41 for ; Tue, 1 Feb 2022 12:55:05 +0000 (UTC) Received: from localhost (unknown [10.33.37.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id D3AF76E1FA for ; Tue, 1 Feb 2022 12:55:04 +0000 (UTC) Date: Tue, 1 Feb 2022 12:55:03 +0000 To: gcc-patches@gcc.gnu.org Subject: [wwwdocs] Fix grammar for computed goto notes Message-ID: MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-13.6 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_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Pushed to wwwdocs. commit 5f199e1197b67b4304a3be54579c2141c39bff30 Author: Jonathan Wakely Date: Tue Feb 1 12:54:42 2022 +0000 Fix grammar for computed goto notes diff --git a/htdocs/gcc-12/porting_to.html b/htdocs/gcc-12/porting_to.html index 86d99723..7f4a2936 100644 --- a/htdocs/gcc-12/porting_to.html +++ b/htdocs/gcc-12/porting_to.html @@ -30,10 +30,10 @@ and provide solutions. Let us know if you have suggestions for improvements! -->

C language issues

-

Computed goto now require a pointer type

+

Computed goto now requires a pointer type

-In GCC 12, computed gotos require a pointer type. +In GCC 12, a computed goto requires a pointer type. An example which was accepted before:


   void f(void)