Signed-off-by: Jose E. Marchesi <[email protected]>

gcc/algol68/ChangeLog

        * a68-imports.cc (complete_encoded_mode): Fix comment on ordering
        of union packs entries.
---
 gcc/algol68/a68-imports.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/algol68/a68-imports.cc b/gcc/algol68/a68-imports.cc
index 37b0b9a209f..dc31ad3d98a 100644
--- a/gcc/algol68/a68-imports.cc
+++ b/gcc/algol68/a68-imports.cc
@@ -846,8 +846,7 @@ complete_encoded_mode (encoded_modes_map_t &encoded_modes, 
uint64_t offset)
       pack = NO_PACK;
       for (uint8_t i = 0; i < em->data.union_.nmodes; i++)
        {
-         /* Union alternatives are internally stored in reverse order in the
-            pack.  */
+         /* The order of union alternatives is irrelevant.  */
          uint16_t index = i;
          MOID_T *united_moid = complete_encoded_mode (encoded_modes,
                                                       
em->data.union_.modes[index]);
-- 
2.39.5

Reply via email to