[Ada] Minor comment improvement
authorEd Schonberg <schonberg@adacore.com>
Thu, 31 May 2018 10:46:39 +0000 (10:46 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 31 May 2018 10:46:39 +0000 (10:46 +0000)
2018-05-31  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* einfo.ads: Improve documentation for the Is_Unsigned_Type entity
flag.

From-SVN: r261004

gcc/ada/ChangeLog
gcc/ada/einfo.ads

index 8a138f0..6c9d57d 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-31  Ed Schonberg  <schonberg@adacore.com>
+
+       * einfo.ads: Improve documentation for the Is_Unsigned_Type entity
+       flag.
+
 2018-05-31  Piotr Trojanek  <trojanek@adacore.com>
 
        * sem_prag.adb (Analyze_Pragma): Replace call to Unique_Defining_Entity
index 2df6497..79fd1c2 100644 (file)
@@ -3338,6 +3338,10 @@ package Einfo is
 --       a further subtype is obtained using variable bounds. This further
 --       subtype is still unsigned, but this cannot be determined by looking
 --       at its bounds or the bounds of the corresponding base type.
+--       For a subtype indication whose range is statically a null range,
+--       the flag is set if the lower bound is non-negative, but the flag
+--       cannot be used to determine the comparison operator to emit in the
+--       generated code: use the base type.
 
 --    Is_Uplevel_Referenced_Entity (Flag283)
 --       Defined in all entities. Used when unnesting subprograms to indicate