From: Gaius Mulley Date: Mon, 11 Sep 2023 21:28:01 +0000 (+0100) Subject: PR modula2/111330 Bootstrap failure building SeqFile.lo X-Git-Tag: basepoints/gcc-15~6283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd72a2108d1c05ef7f50acd71d518e769abcced;p=thirdparty%2Fgcc.git PR modula2/111330 Bootstrap failure building SeqFile.lo cc1gm2 issues a runtime case statement error and terminates when building SeqFile.lo on Fedora mock. There are four missing labels from the largest case statement in M2SymInit.mod. This patch adds the case labels and appropriate actions. gcc/m2/ChangeLog: PR modula2/111330 * gm2-compiler/M2SymInit.mod (CheckReadBeforeInitQuad): Add case labels LogicalDiffOp, DummyOp, OptParamOp and InitAddressOp. Signed-off-by: Gaius Mulley --- diff --git a/gcc/m2/gm2-compiler/M2SymInit.mod b/gcc/m2/gm2-compiler/M2SymInit.mod index b629ed87ed77..18a854b5bba1 100644 --- a/gcc/m2/gm2-compiler/M2SymInit.mod +++ b/gcc/m2/gm2-compiler/M2SymInit.mod @@ -1318,6 +1318,7 @@ BEGIN LogicalOrOp, LogicalAndOp, LogicalXorOp, + LogicalDiffOp, CoerceOp, ConvertOp, CastOp, @@ -1368,7 +1369,10 @@ BEGIN RestorePriorityOp, RangeCheckOp, ModuleScopeOp, - ErrorOp : | + ErrorOp, + DummyOp, + OptParamOp, + InitAddressOp : | END ; RETURN FALSE