gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] compiler crashes


From: Gaius Mulley
Subject: Re: [Gm2] compiler crashes
Date: 12 Sep 2005 15:14:28 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

John B Wallace Jr <address@hidden> writes:

> The two test programs below produce compiler crashes.
> 
> 
> 
> MODULE ABSBug;
> 
> (*******************************************************************)
> (*        NOTE: THIS IS TEST CODE AND MAY BE INCORRECT             *)
> (*******************************************************************)
> 
> CONST
>   Neg = -4096;
> 
> VAR
>   a : CARDINAL;
> 
> BEGIN
>   a := ABS(Neg)
> END ABSBug.
> 
> This is the error message:
> 
> ABSBug.mod:0: internal compiler error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
> make: *** [ABSBug.o] Error 1
> 
> 
> 
> MODULE IdentifierBug;
> 
> (******************************************************************)
> (*  IMPORTANT: THIS IS TEST CODE AND CONTAINS A DELIBERATE ERROR  *)
> (******************************************************************)
> 
> VAR
>   c : INTEGER;
> 
> BEGIN
>  (* A capital C here instead of a lower case c produces a compiler crash *)
>  C := 1
> END IdentifierBug.
> 
> This is the error message:
> 
> IdentifierBug.mod:0: internal compiler error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
> make: *** [IdentifierBug.o] Error 1

Hi John,

thanks for the bug reports, both are now fixed in the latest CVS,

regards,
Gaius



reply via email to

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