gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set bugfix applied to the latest git repro


From: Gaius Mulley
Subject: set bugfix applied to the latest git repro
Date: Sun, 17 Mar 2024 15:17:22 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

a small heads up that the following bug has been fixed into the gcc 14
repro:

MODULE tiny2 ;

VAR
   x: CARDINAL ;
   ch: CHAR ;
BEGIN
   x := 6 ;
   ch := {7 .. x};
END tiny2.

$ gm2 tiny2.mod
tiny2.mod:8:10: error: a constant set can only contain constant set elements, 
‘x’ is not a constant
    8 |    ch := {7 .. x};
      |          ^~~~~~~~


I've also tightened up the type checking for expressions using
comparison operators.  The known outstanding bugs are tracked at:

https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=modula2

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]