diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2024-12-09 13:56:37 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-12-09 13:56:37 +0000 |
commit | 548afd73cdbf310403a1e3f34226372c16c29706 (patch) | |
tree | 24c8ae3dbb21c740bdb1c0f58426adde16d9d2ba /gcc/config/glibc-stdint.h | |
parent | 2e958291ff68d9bff1092895a14b6763de56823b (diff) | |
download | gcc-548afd73cdbf310403a1e3f34226372c16c29706.zip gcc-548afd73cdbf310403a1e3f34226372c16c29706.tar.gz gcc-548afd73cdbf310403a1e3f34226372c16c29706.tar.bz2 |
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 <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/config/glibc-stdint.h')
0 files changed, 0 insertions, 0 deletions