diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2024-09-24 00:28:19 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-09-24 00:28:19 +0100 |
commit | 5ef52ec422b8b92539baaa761ad878ccb6f82db8 (patch) | |
tree | 522325ab8604520c6e8f232264f021919455fc5c /gcc/cp/contracts.cc | |
parent | 0121b852c85db91babdb346f277ca6220eb7df86 (diff) | |
download | gcc-5ef52ec422b8b92539baaa761ad878ccb6f82db8.zip gcc-5ef52ec422b8b92539baaa761ad878ccb6f82db8.tar.gz gcc-5ef52ec422b8b92539baaa761ad878ccb6f82db8.tar.bz2 |
modula2: Add noreturn attribute to m2/gm2-libs/M2RTS.mod
This patch removes a build warning by adding a noreturn attribute
to the M2RTS.mod:HaltC procedure. Also add an infinite loop to
gm2-libs-min/M2RTS.mod.
gcc/m2/ChangeLog:
* Make-lang.in (m2/gm2-libs-boot/M2RTS.o): Remove
--suppress-noreturn.
* gm2-libs/M2RTS.mod (HaltC): Add noreturn attribute.
* gm2-libs-min/M2RTS.mod (HALT): Add LOOP END.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/cp/contracts.cc')
0 files changed, 0 insertions, 0 deletions