From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 26B45385803E for ; Thu, 29 Sep 2022 09:11:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 26B45385803E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x434.google.com with SMTP id s14so1187704wro.0 for ; Thu, 29 Sep 2022 02:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=K6oSEMpUmbPkoiT7y689xabw7k4fLeMVbU6uIycVsRc=; b=RHBKNqJs3+bqbhf6EtNyPDpG1GrjhrBCXMHFHhhS6trMjPH0GUEnuk2WAYxbCzW0Mk 6gyCp7pd25kEQZCHZuXuIb+uFexnlDYoHy3vyUZ6Yd7ZT34005BQD6Qpxbw5g4MQxOCz 8TaOxSVH28uoCx+27Z1OD9dzM9J0IYIZge8pAnJWJqpksVGBNd90JuL+JYA8I/B70tHL sTSPajjYT0CJbgcm+Ll9iMXlKF/V6HHNWAcCvDi7bu5a1uyR7eeuOhB9oIcqa3UG1EqV zuq4Wx2JfL8aZC/nyJ7NxFkU8d8iTDByt5SQrfYiG8Aaezf9qN/wSpMAqC4HE6FBHSVN rv/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=K6oSEMpUmbPkoiT7y689xabw7k4fLeMVbU6uIycVsRc=; b=YJde6Sc21JjmEeTqI1bjPhcmi5YbMDlnWM2vnlGXiNFMhXtGTCVbkA7s+Sn5WL8Hrw zoETKmVbgIy26dGyiyXguNZoXawgA6iOMIwAR5YlhS/+13BG088DjlXaZGZ8mgWSGuxC mNAzIc2uk0rEZ+ycSaA+G9PnRg1p5GgFVrSreg0Qt8ZAHPUHkzGkwhkjgMHXl+omVipA wj2rhynRSFUROtqKkg4i/iJo3BZRRQRGIlzWdD+6I5ITkTXnHeboUVTF1KcQT3kIlvos xUnZOAP+1okh+/8hcrqG5KAjL/EVbqfAdoLnMITLewhhd0Tw+LKsvFzQ4TYOdp90ggHi +jOw== X-Gm-Message-State: ACrzQf06qd++Phup//p5WbAtkb1/xMytwn1aW99EmShJOEvdVuIE18xq Qk/l9j8r0BfMlxlkWHTaaoIHdTIjAHZEbg== X-Google-Smtp-Source: AMsMyM78jyeugCJkzyvJPj9IwJfAEdmj8HHfyZ+pM2uAhxDHwKYBY4+AAkQokQWIF5Bodlok/OvzCQ== X-Received: by 2002:adf:e9ce:0:b0:22c:ae77:b75c with SMTP id l14-20020adfe9ce000000b0022cae77b75cmr1458676wrn.380.1664442683005; Thu, 29 Sep 2022 02:11:23 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id i9-20020a1c5409000000b003b486027c8asm3915942wmb.20.2022.09.29.02.11.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 02:11:22 -0700 (PDT) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Ronan Desplanques Subject: [COMMITED] ada: Remove duplicated doc comment section Date: Thu, 29 Sep 2022 11:11:19 +0200 Message-Id: <20220929091119.359856-1-poulhies@adacore.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.1 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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Ronan Desplanques A documentation section was duplicated by mistake in r0-110752. This commit removes the copy that was added by r0-110752, but integrates the small editorial change that it brought to the original. gcc/ada/ * einfo.ads: remove documentation duplicate Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/einfo.ads | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index 7ac8cf6e99a..e350f137ee7 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -222,10 +222,9 @@ package Einfo is -- on the actions triggered by a freeze node, which include the construction -- of initialization procedures and dispatch tables. --- b) The presence of a freeze node on an entity is used by the back end to --- defer elaboration of the entity until its freeze node is seen. In the --- absence of an explicit freeze node, an entity is frozen (and elaborated) --- at the point of declaration. +-- b) The flag is used by the back end to defer elaboration of the entity +-- until its freeze node is seen. In the absence of an explicit freeze node, +-- an entity is frozen (and elaborated) at the point of declaration. -- For object declarations, the flag is set when an address clause for the -- object is encountered. Legality checks on the address expression only take @@ -4825,39 +4824,6 @@ package Einfo is -- The front-end does not store explicitly the fact that Z renames X. --------------------------------------- --- Delayed Freezing and Elaboration -- --------------------------------------- - --- The flag Has_Delayed_Freeze indicates that an entity carries an explicit --- freeze node, which appears later in the expanded tree. - --- a) The flag is used by the front-end to trigger expansion actions --- which include the generation of that freeze node. Typically this happens at --- the end of the current compilation unit, or before the first subprogram --- body is encountered in the current unit. See files freeze and exp_ch13 for --- details on the actions triggered by a freeze node, which include the --- construction of initialization procedures and dispatch tables. - --- b) The flag is used by the backend to defer elaboration of the entity until --- its freeze node is seen. In the absence of an explicit freeze node, an --- entity is frozen (and elaborated) at the point of declaration. - --- For object declarations, the flag is set when an address clause for the --- object is encountered. Legality checks on the address expression only --- take place at the freeze point of the object. - --- Most types have an explicit freeze node, because they cannot be elaborated --- until all representation and operational items that apply to them have been --- analyzed. Private types and incomplete types have the flag set as well, as --- do task and protected types. - --- Implicit base types created for type derivations, as well as classwide --- types created for all tagged types, have the flag set. - --- If a subprogram has an access parameter whose designated type is incomplete --- the subprogram has the flag set. - ------------------ -- Access Kinds -- ------------------ -- 2.25.1