gm2
[Top][All Lists]
Advanced

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

[Gm2] Crash compiling array indexed by character range


From: Waldek Hebisch
Subject: [Gm2] Crash compiling array indexed by character range
Date: Sun, 23 Nov 2003 15:18:51 +0100 (MET)

The following program:
MODULE tst6;
VAR a : ARRAY ['a'..'c'] OF INTEGER;
BEGIN
  a['b'] := 3
END tst6
.
gives me:
hebisch$ ../gm2-lin/gcc/xgm2 -v -c --save-temps -O2 -B../gm2-lin/gcc tst6.mod
Reading specs from ../gm2-lin/gcc/specs
Configured with: ../gcc-3.3.1/configure --enable-checking 
--enable-languages=c,gm2
Thread model: posix
gcc version 3.3.1
 ../gm2-lin/gcc/cc1gm2 -quiet -dumpbase tst6.mod -auxbase tst6 -O2 -version 
-I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/gm2/pim:/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/gm2/iso
 tst6.mod -o tst6.s
GNU Modula-2 version 3.3.1 (i686-pc-linux-gnu)
        compiled by GNU C version 2.95.4 20011002 (Debian prerelease).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=129147
gm2  [0.40b (address@hidden)] [Tue Oct 14 02:26:46 2003]
tst6.mod:1: internal compiler error: in layout_type, at stor-layout.c:1555
Please report this crash to the GNU Modula-2 mailing list <address@hidden>

Note that the program is a translation of (part of) program from GNU Pascal
testsuite which fails with unpatched back end.

-- 
                              Waldek Hebisch
address@hidden 





reply via email to

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