]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR modula2/111330 Bootstrap failure building SeqFile.lo
authorGaius Mulley <gaiusmod2@gmail.com>
Mon, 11 Sep 2023 21:28:01 +0000 (22:28 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Mon, 11 Sep 2023 21:28:01 +0000 (22:28 +0100)
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 <gaiusmod2@gmail.com>
gcc/m2/gm2-compiler/M2SymInit.mod

index b629ed87ed77ce9043f422afda908656ff49d043..18a854b5bba1e0fa3bbff7b279ed6308d22350af 100644 (file)
@@ -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