gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] more on compiler crash


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

John B Wallace Jr <address@hidden> writes:

> I just discovered that the IdentifierBug test program (repeated below) 
> included in my last e-mail only crashes the compiler if the -Wcheck-all 
> option is used. 
> 
> 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.
> 

Hi,

Thanks for the info.. -Wbounds caused the crash set when -Wcheck-all
is used - trying to determine the subrange type of an unknown
variable..

regards,
Gaius



reply via email to

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