https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115328
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:da470844aebd0836ce5b6921be62be954e1f8b52 commit r14-11085-gda470844aebd0836ce5b6921be62be954e1f8b52 Author: Gaius Mulley <gaiusm...@gmail.com> Date: Fri Dec 13 14:10:19 2024 +0000 [PATCH] 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. (cherry picked from commit 548afd73cdbf310403a1e3f34226372c16c29706) Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>