From patchwork Tue May 17 08:27:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Marie de Rodat X-Patchwork-Id: 54073 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 917663857427 for ; Tue, 17 May 2022 08:39:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 917663857427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1652776769; bh=DgvJlXMcFFLriskxH4gCy/uH9TToHhv3IQwtquvCj3I=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=eTgc+8ZVfF0ticFv/qGfmeXNSMKy4x+dlHGu1lxAi+VdKG3KYdfVYcScrmuQ/2qrf imyh3egRH2YX746itEMhf1890WA/Ale6gVJwtX0hAEWAov9lIVih8fms3Ma5E2y8zm IutBtxpySl9xAUz0bQFGh1lADq3/jc6DPz/X/oxM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 9D0323857432 for ; Tue, 17 May 2022 08:27:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9D0323857432 Received: by mail-wm1-x32e.google.com with SMTP id bd25-20020a05600c1f1900b0039485220e16so924291wmb.0 for ; Tue, 17 May 2022 01:27:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=DgvJlXMcFFLriskxH4gCy/uH9TToHhv3IQwtquvCj3I=; b=4CYKkQIRUgwOb8ws2jCgUEnfQLZK8vcDLzpQe3Iu7yq1SWyZiotjbMHSJ/0URo6D53 jDEPrkVjUALXU2RNbujhxVI/0wcNIPWaHr/od5ZyIAS57wwvLZbbNKujGaSWwsVkSOHh 26JBEUBfBxRBYMCvy6wc8k/g5aWYqwKR7LZdX6DfTC3uMwyOzGdgPOO/XDBOxm097s0g O9z+LPqhkgG4r4TwjYasY6zDj7tu/Gjgs03C4qtSIINKY94VhMqURn+LGlfFZCHzj8XF rXawmGzaiaJHgWFfd5TnrqtlF6K0PxkaybZxipqODoRn2GSBv59XW/4o8gTwUtNCz0VL oJJw== X-Gm-Message-State: AOAM530ZMHXcC1ISitHqlv8dW3vdHIRgEPxUEcnqh96S+Dx8yzZvGQTo vhZdOTsNZC9g9mUVdnxRbdUnzv/3QsYyH5n/ X-Google-Smtp-Source: ABdhPJyTjDdE20d4gFf3p5+2DNWhgOvo/nCyOV47fPtSWzJSKln8X4mz0UwI6O9ApkbiXe1Iz/OZeg== X-Received: by 2002:a05:600c:2258:b0:394:2045:bed with SMTP id a24-20020a05600c225800b0039420450bedmr20363197wmm.174.1652776059242; Tue, 17 May 2022 01:27:39 -0700 (PDT) Received: from adacore.com ([45.147.211.82]) by smtp.gmail.com with ESMTPSA id x16-20020adfbb50000000b0020d11ee1bcesm2670916wrg.82.2022.05.17.01.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 01:27:38 -0700 (PDT) Date: Tue, 17 May 2022 08:27:37 +0000 To: gcc-patches@gcc.gnu.org Subject: [Ada] Typo fix in finalization comment Message-ID: <20220517082737.GA1089046@adacore.com> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Pierre-Marie de Rodat via Gcc-patches From: Pierre-Marie de Rodat Reply-To: Pierre-Marie de Rodat Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Add missing 's' and reformat the comment block. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * exp_ch7.adb: Fix typo. diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb --- a/gcc/ada/exp_ch7.adb +++ b/gcc/ada/exp_ch7.adb @@ -157,14 +157,14 @@ package body Exp_Ch7 is -- Finalization Management -- ----------------------------- - -- This part describe how Initialization/Adjustment/Finalization procedures - -- are generated and called. Two cases must be considered, types that are - -- Controlled (Is_Controlled flag set) and composite types that contain - -- controlled components (Has_Controlled_Component flag set). In the first - -- case the procedures to call are the user-defined primitive operations - -- Initialize/Adjust/Finalize. In the second case, GNAT generates - -- Deep_Initialize, Deep_Adjust and Deep_Finalize that are in charge - -- of calling the former procedures on the controlled components. + -- This part describes how Initialization/Adjustment/Finalization + -- procedures are generated and called. Two cases must be considered: types + -- that are Controlled (Is_Controlled flag set) and composite types that + -- contain controlled components (Has_Controlled_Component flag set). In + -- the first case the procedures to call are the user-defined primitive + -- operations Initialize/Adjust/Finalize. In the second case, GNAT + -- generates Deep_Initialize, Deep_Adjust and Deep_Finalize that are in + -- charge of calling the former procedures on the controlled components. -- For records with Has_Controlled_Component set, a hidden "controller" -- component is inserted. This controller component contains its own