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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:863202684dff775ae4a3e576f77044474384d41f

commit r14-8906-g863202684dff775ae4a3e576f77044474384d41f
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Sat Feb 10 02:18:54 2024 +0000

    PR modula2/113848 modula2 does not build with clang

    Re-write address arithmetic in gm2-libs/SArgs.mod:GetArg
    to avoid (void *) computation.  mc treats ADDRESS as (char *)
    but does not cast user type (PtrToChar) to (char *) when
    performing address arithmetic.

    gcc/m2/ChangeLog:

            PR modula2/113848
            * gm2-libs/SArgs.mod (GetArg): Re-write address arithmetic
            to avoid (void *) computation.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to