public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1519] [Ada] Restore accidentally removed part of a comment about unset references
@ 2022-07-06 13:30 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-07-06 13:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3fdb556c8387024493509a9f19f886617eced601

commit r13-1519-g3fdb556c8387024493509a9f19f886617eced601
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Thu Jun 9 23:23:46 2022 +0200

    [Ada] Restore accidentally removed part of a comment about unset references
    
    Fix an unintentionally removed comment.
    
    gcc/ada/
    
            * sem_res.adb (Resolve_Actuals): Restore first sentence of a
            comment.

Diff:
---
 gcc/ada/sem_res.adb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb
index 650b7d502c3..8fbd2d5e2a5 100644
--- a/gcc/ada/sem_res.adb
+++ b/gcc/ada/sem_res.adb
@@ -4620,6 +4620,7 @@ package body Sem_Res is
                  ("invalid use of untagged formal incomplete type", A);
             end if;
 
+            --  For mode IN, if actual is an entity, and the type of the formal
             --  has warnings suppressed, then we reset Never_Set_In_Source for
             --  the calling entity. The reason for this is to catch cases like
             --  GNAT.Spitbol.Patterns.Vstring_Var where the called subprogram


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-06 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06 13:30 [gcc r13-1519] [Ada] Restore accidentally removed part of a comment about unset references Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).