public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Marc Poulhi?s <dkm@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-3676] ada: Tweak comment about tasking corner case
Date: Tue,  5 Sep 2023 11:07:34 +0000 (GMT)	[thread overview]
Message-ID: <20230905110734.B6D0E3858C2A@sourceware.org> (raw)

https://gcc.gnu.org/g:eb7c56a0340363422481e4bccd3f86ddda9f9a23

commit r14-3676-geb7c56a0340363422481e4bccd3f86ddda9f9a23
Author: Ronan Desplanques <desplanques@adacore.com>
Date:   Thu Jul 13 12:59:19 2023 +0200

    ada: Tweak comment about tasking corner case
    
    This patch adjusts a comment that could have misleadingly suggested
    that a corner case related to tasks could not exist in Ada 2012 or
    Ada 2022.
    
    gcc/ada/
    
            * libgnarl/s-tassta.adb: Tweak comment.

Diff:
---
 gcc/ada/libgnarl/s-tassta.adb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/libgnarl/s-tassta.adb b/gcc/ada/libgnarl/s-tassta.adb
index 53633c9f3dc6..5be6253a978f 100644
--- a/gcc/ada/libgnarl/s-tassta.adb
+++ b/gcc/ada/libgnarl/s-tassta.adb
@@ -1615,8 +1615,8 @@ package body System.Tasking.Stages is
 
             --  Usually, C.Common.Activator = Self_ID implies C.Master_Of_Task
             --  = CM. The only case where C is pending activation by this
-            --  task, but the master of C is not CM is in Ada 2005, when C is
-            --  part of a return object of a build-in-place function.
+            --  task, but the master of C is not CM is when C is part of a
+            --  return object of a build-in-place function.
 
             pragma Assert (C.Common.State = Unactivated);

                 reply	other threads:[~2023-09-05 11:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230905110734.B6D0E3858C2A@sourceware.org \
    --to=dkm@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).