[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] compiler crashes
From: |
John B Wallace Jr |
Subject: |
[Gm2] compiler crashes |
Date: |
Sun, 11 Sep 2005 20:15:48 -0400 |
User-agent: |
KMail/1.8 |
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
The system is SUSE Linux 9.3 (64 bit edition) on an AMD Athlon 64 and the gm2
version is 08 September 2005.
John Wallace
- [Gm2] compiler crashes,
John B Wallace Jr <=