https://gcc.gnu.org/g:72848b9d9e20ed22d4391b5af07961df01959312
commit r17-1821-g72848b9d9e20ed22d4391b5af07961df01959312 Author: Jose E. Marchesi <[email protected]> Date: Wed Jun 24 23:53:38 2026 +0200 a68: fix comment in a68-imports.cc:complete_encoded_mode 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. Diff: --- 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 37b0b9a209fa..dc31ad3d98a6 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]);
