[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Another one of ARRAY OF... problems
From: |
gaius |
Subject: |
Re: [Gm2] Another one of ARRAY OF... problems |
Date: |
Mon, 06 Sep 2010 06:59:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Dragiša Durić <address@hidden> writes:
> % gm2 -I. -fiso -c tests/TestCase12.mod
> Internal error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
>
> ================
> MODULE TestCase12;
>
> FROM
> SYSTEM
> IMPORT
> TSIZE;
>
> TYPE
> Types= (t_CHAR, t_SHORTCARD, t_CARDINAL, t_LONGCARD, t_BOOLEAN,
> t_BITSET, t_REAL);
> Sizes = ARRAY Types OF CARDINAL;
>
> CONST
> sizes = Sizes {
> TSIZE(CHAR), TSIZE(CARDINAL), TSIZE(CARDINAL), TSIZE(CARDINAL),
> TSIZE(BOOLEAN), TSIZE(BITSET), TSIZE(REAL)
> };
>
> END TestCase12.
>
> --
> Dragiša Durić <address@hidden>
Hi Dragiša,
now fixed in the latest cvs, thanks for the bug report and test code.
* gm2/gm2-compiler/M2ALU.mod: (New procedure) IsSolvedGCC.
Used instead of IsValueSolved. This fixes a bug reported by
DragiÅ¡a DuriÄ\207 (dragisa-duric/testcase12/pass/testcase12b.mod).
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gm2] Another one of ARRAY OF... problems,
gaius <=