]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Tweak comment about tasking corner case
authorRonan Desplanques <desplanques@adacore.com>
Thu, 13 Jul 2023 10:59:19 +0000 (12:59 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 5 Sep 2023 11:05:11 +0000 (13:05 +0200)
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.

gcc/ada/libgnarl/s-tassta.adb

index 53633c9f3dc6b245a5dbaf2b7c18c75fb45d78dc..5be6253a978f232f39ab132e36eab9e30af4e141 100644 (file)
@@ -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);