|
From: | Gaius Mulley |
Subject: | Re: gm2 internal compiler error report |
Date: | Mon, 18 Mar 2024 16:59:59 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
> (Although I think the error type message looks wrong though - it should > say BITSET and WORD perhaps). this is now fixed in the latest gcc git repro: $ gm2 tiny4.mod tiny4.mod:13:17: error: In program module ‘tiny4’: type incompatibility between ‘BITSET’ and ‘WORD’ 13 | b := func () - {6..31} | ~~~~~~~~^~~~~~~~~ $ cat tiny4.mod MODULE tiny4 ; FROM SYSTEM IMPORT WORD ; PROCEDURE func () : WORD ; BEGIN RETURN WORD (0) END func ; VAR b: BITSET ; BEGIN b := func () - {6..31} END tiny4. regards, Gaius
[Prev in Thread] | Current Thread | [Next in Thread] |