| Message ID | 20260602084541.3829876-12-poulhies@adacore.com |
|---|---|
| State | Committed |
| Commit | 264a131335fb4c93820189706b6d4f8ab8e07439 |
| Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D71614BA23DC for <patchwork@sourceware.org>; Tue, 2 Jun 2026 08:59:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D71614BA23DC Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=Zs0YBpp3 X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 935834BA2E11 for <gcc-patches@gcc.gnu.org>; Tue, 2 Jun 2026 08:46:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 935834BA2E11 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 935834BA2E11 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::329 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780389967; cv=none; b=JkIAsMQfVIIGduzZfWt1/RaP8FUGbbRVkqy2NyMmvP12Be4VYN3ZS6yQKV/9enTO6gl5LB9zWTMncZhRKioARe+HVVZmpLhBhFdjLjJGheC1qFZtjA3sUmzjVkEF7A/VLsCnWFRGWp1MrfU4rPX4++JbfPGbXc02X1ZIKstEXn8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780389967; c=relaxed/simple; bh=DVEaTEfP/LQ6hwav4U3KsXzNNKbKJsNLGvu5+afTGhg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jdXf3HVKTtU0oysZi6wfEW0yPzpJz9BhsxTHdz+wKe0K2bs9EdI8DGx9ebl7IvzrHK1yjC+pRP19smLnwPwwhMf0DorZo4BCyLTBriweC0V3lVoKXunh3ma+NV+s/um60553vc7PvnQr5KesmpZo5FTG7nsxSDj4ijlnN1QVlgM= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=Zs0YBpp3 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 935834BA2E11 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-490ace40f4bso18713135e9.3 for <gcc-patches@gcc.gnu.org>; Tue, 02 Jun 2026 01:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1780389966; x=1780994766; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kNEZA00znw7bUVeZIPQOwGzIAVgQZvel73Y5jKlHG3M=; b=Zs0YBpp3JbGJlqeGCg5fIyCjSuUydmR9k9PntqXpk9wi6lSJpOJHL+a+ez53b9Wg9q AUlvLMY7qHGZ9e/hxQzy8wvv/rzcKrM8wjRpAkA1GPY/9F5KitipODtd/+DjGTDsKiN3 vJM/hj2skE8L5M3miOk2x05GcYpD0SlloHMwkyswIkws98RFzomZ1clcq3wC6fESCz13 13wQgBp+uDeelHIYzJSUWAcYto9Lg0wyINUGcmm+DxUZWLjEBO+vp08hfFEt+Rm1nRcE V5XVn0wYvbunOzftua+Nx4ZwgrWc/e+XvWe+8MNZS8XIPLsTH5ePxJ68s8Br5pHPWpfc dNIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780389966; x=1780994766; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=kNEZA00znw7bUVeZIPQOwGzIAVgQZvel73Y5jKlHG3M=; b=Xqlr6V9YI2xA+KgmJkD2PSryYyzhk37S36N7xGf7wgV0YMA0XBG/Mw8GB5ek8tyJkw 3fPclOJ+dWoYzFSOzkK+FjYM1bV2x2LTsseBHI/ZrOUAEAlJw5mxQxDNYd0nk71vn5Pi iIwXfnqesxwWTE4wKdeC4gnNw0NwuyG+oM8OGSfbexmUK4JUzS3UdEN5rLb64/2RqkmX M++qkopzTZSQt3u63pUEDHJkamtxIhfZAn45P2AZaH3Xy/Y6R5+fc19fOhU2cttib865 zCWYDyZSD7DkgOgOdVynRr/2lnO4ERO7DLUqFoFzNSrq6tWlAREq9tzIuGzjK8fy8FCa 72Lw== X-Gm-Message-State: AOJu0YxZKBTt/Md8YPgsKzeKnEg0ika1DEBbxCStLE/vAIzvwvt4CRvq u4GjyVutcJHB2qnI4nZcHkc1QtqvmCUOTrzyfF5qsu9QcgVL0t99me6RMGnHl0N48gLttnkRUEL lzaY= X-Gm-Gg: Acq92OEx1MTEEdX5P5hCCN2zGLJ4dRri99m6knpEjc24egeHYj3sVwGsbrZnEmG5FKS tqI7YCCyj8WRq5DTdBl4fBSFSvSd2eqrWZ0HL/wmPBx3I0I7q2mY7TNtyWCtWf7I20H2zhcLHlK yP3jMOjUwcseak3YbwxBQc+2eWN3zGhc3QAfSwkgpSpCzVcvhQC8XXrckOWWXgakVjErs48d79H QFnXt7HYGLmKoT6MOMinjtArylb8mSIe1c29eXWtLjFgVsBJlxlXz2j14z6ieRuTVjT9ta28sCm gpcEJ3PKCPIFY09nY2HFCTXmpydNMkR/LF516Gr1tjPlm5lrZe+OrI6QU1BlZzhriMXItts05Bx tHlEd5gJH205w/twFsOhyzWSjmSczgsT/am9vL53diOtiResKYS8MpysCaEyb+7Ovrm4nwOAv/G a3poi5Er3NAOid2JboybGrjriryfDE8htA8xX8JiHUMZwBetHVo15y+kdv1kBGGUcpBboAHM1Mv XcmSoTQMfQVJVytxW7v1T4/ezJ6D4g= X-Received: by 2002:a05:600c:870c:b0:490:b2a6:8c2a with SMTP id 5b1f17b1804b1-490b2a68d50mr23258445e9.5.1780389966428; Tue, 02 Jun 2026 01:46:06 -0700 (PDT) Received: from mecano.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490ab55d39csm33907625e9.35.2026.06.02.01.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2026 01:46:06 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Ronan Desplanques <desplanques@adacore.com> Subject: [COMMITTED 12/51] ada: Add note about Sem_Aux being in binder closure Date: Tue, 2 Jun 2026 10:45:00 +0200 Message-ID: <20260602084541.3829876-12-poulhies@adacore.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260602084541.3829876-1-poulhies@adacore.com> References: <20260602084541.3829876-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_PBL, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
| Series |
[COMMITTED,01/51] ada: Rename Private_Component function
|
|
Commit Message
Marc Poulhiès
June 2, 2026, 8:45 a.m. UTC
From: Ronan Desplanques <desplanques@adacore.com>
I recently realized that Sem_Aux is in the binder's closure, unlike
Sem_Util. This patch makes it explicit in a comment since it can be
useful when choosing where to put a helper subprogram.
gcc/ada/ChangeLog:
* sem_aux.ads: Add note.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/sem_aux.ads | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gcc/ada/sem_aux.ads b/gcc/ada/sem_aux.ads index cf80ec793ba..3bd3a466476 100644 --- a/gcc/ada/sem_aux.ads +++ b/gcc/ada/sem_aux.ads @@ -30,6 +30,11 @@ -- content of entities in the tree, so this package is used for routines that -- require more than minimal semantic knowledge. +-- However, this package is in the closure of the binder executable. If you're +-- looking for the home of a new helper function that uses significant +-- semantic knowledge, Sem_Util, which is not in the closure of the binder +-- executable, will be a more convenient place. + with Alloc; with Einfo.Entities; use Einfo.Entities; with Namet; use Namet;