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

--- Comment #6 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:548afd73cdbf310403a1e3f34226372c16c29706

commit r15-6041-g548afd73cdbf310403a1e3f34226372c16c29706
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Mon Dec 9 13:56:37 2024 +0000

    PR modula2/115328: use enable forward bool and set default true

    This patch introduces GetEnableForward and SetEnableForward
    against which the forward procedure declaration feature is checked.
    Currently this is set as default true.

    gcc/m2/ChangeLog:

            PR modula2/115328
            * gm2-compiler/M2Options.def (GetEnableForward): New procedure
            function.
            (SetEnableForward): New procedure.
            * gm2-compiler/M2Options.mod (GetEnableForward): New procedure
            function.
            (SetEnableForward): New procedure.
            (EnableForward): New boolean.
            * gm2-compiler/P1SymBuild.mod (EndBuildForward): Check
            GetEnableForward and generate an error message if false.

    gcc/testsuite/ChangeLog:

            PR modula2/115328
            * gm2/pim/fail/forward.mod: Move to...
            * gm2/pim/pass/forward.mod: ...here.

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

Reply via email to