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

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>:

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

commit r13-4943-gd423e8dc59045d8f281dcb1a02559cb6f91456bf
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Wed Dec 21 09:05:32 2022 +0000

    modula2: Ensure that module registration constructors are 'extern'
[PR108183].

    The symbols for module registration constructors need to be external
    or we get wrong code generated for targets that allow direct access to
    local symbol definitions.

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

            PR modula2/108183

    gcc/m2/ChangeLog:

            * gm2-compiler/M2GCCDeclare.mod: Module registration constructors
are
            externs to the builder of m2_link.

    Co-Authored-By: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to