https://gcc.gnu.org/g:69942abe399a595d6d6799aabe6f36203f480eb1
commit r17-6006-g69942abe399a595d6d6799aabe6f36203f480eb1 Author: Jose E. Marchesi <[email protected]> Date: Sat Oct 31 05:21:09 2026 +0100 a68: add missing indirect widening paths to a68_widens_to long int is indirectly widenable to long compl. word int is indirectly widenable to word compl. Signed-off-by: Jose E. Marchesi <[email protected]> gcc/algol68/ChangeLog * a68-moids-misc.cc (a68_widens_to): Add two missing indirect widening paths. Diff: --- gcc/algol68/a68-moids-misc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/algol68/a68-moids-misc.cc b/gcc/algol68/a68-moids-misc.cc index 257f43bddd4f..6bb362f156c7 100644 --- a/gcc/algol68/a68-moids-misc.cc +++ b/gcc/algol68/a68-moids-misc.cc @@ -737,7 +737,7 @@ a68_widens_to (MOID_T *p, MOID_T *q) } else if (p == M_LONG_INT) { - if (q == M_LONG_REAL) + if (q == M_LONG_REAL || q == M_LONG_COMPLEX) { return M_LONG_REAL; } @@ -755,7 +755,7 @@ a68_widens_to (MOID_T *p, MOID_T *q) } else if (p == M_WORD_INT) { - if (q == M_WORD_REAL) + if (q == M_WORD_REAL || q == M_WORD_COMPLEX) return M_WORD_REAL; else return NO_MOID;
