https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124322

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jose E. Marchesi <[email protected]>:

https://gcc.gnu.org/g:ee8ca6c927ec949a5983f1b9b9a896b5b3044454

commit r16-7917-gee8ca6c927ec949a5983f1b9b9a896b5b3044454
Author: Jose E. Marchesi <[email protected]>
Date:   Thu Mar 5 15:31:18 2026 +0100

    a68: fix wrapping C functions returning void [PR algol68/124322]

    This patch fixes a68_wrap_formal_proc_hole so it doesn't assume that
    wrapped C functions returning void return Algol 68 void values, which
    are empty records.

    Tested in i686-linux-gnu and x86_64-linux-gnu.

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

    gcc/algol68/ChangeLog

            PR algol68/124322
            * a68-low-holes.cc (a68_wrap_formal_proc_hole): Wrap functions
            returning void properly.

Reply via email to